ikoon Posted October 12, 2016 Share Posted October 12, 2016 (edited) Hello, please, I would like to achieve this kind of effect in my production: I am a freelancer, I have Houdini Indie and four computers (one 6core and three 4core-i7). I do jingles for local event agency. The projects I do are quite low-budget and deadline is in a week or two usually. I had to do this in a week, so I have used my C4D https://vimeo.com/186295732 Now I am more and more using Houdini. Please, would you be so kind and direct me to a solution? A] Mantra superfast shader (fake) It doesnt have to be photorealistic - points do not emit light, but they reflect on surfaces. Can I get under cca 2 seconds for such glowing line (A-reference), fullHD frame, on my local CPUs? Should I "clone" points onto the line? Can I set the blending mode of the points to be additive? Can I set the fuzzines of a point by custom gradient (radial from center of the point)? Btw can I set the alpha of a point with bitmap, for example small earths? For further development, I want to go this way: B] Mantra semi-physical shader Is it possible to get under cca 10 sec render time, with this: - fake depth of field (for example by setting the radius bigger and darker) - fake interacting with volumes (bigger radius, darker) - can I somehow fake, that points are emitting light?Maybe by some proximity shader on the "rigid" objects or volumes? This is beautiful:https://www.instagram.com/rbrthrsk/ C) Gpu renderer? Should I go for some GPU renderer? I like mantra very much. This is done with the Redshifthttps://www.artstation.com/artwork/XOKQn Edited October 12, 2016 by ikoon 3 Quote Link to comment Share on other sites More sharing options...
ikoon Posted October 12, 2016 Author Share Posted October 12, 2016 I have found thread about the blending modes here: https://www.sidefx.com/forum/topic/30813 There is hip with a shader, who solves the additive blending. I have done some tests. Credit goes to Sadjad Rabiee from the mentioned thread. Rendertime 1280x720 on one six core cpu: - with DOF is 11 second - without DOF is 10 seconds Results and the project file are attached. If anybody can give me some answers to my questions... I will be very thankful. I am still quite lost, as this is still not what I need. additive mode.hiplc 2 Quote Link to comment Share on other sites More sharing options...
ikoon Posted October 12, 2016 Author Share Posted October 12, 2016 I have tried more settings, the files are attached. Now it is quite fast, just two seconds (pixel sample 1x1, but it looks quite ok). Problem is, that every single line is just flat. Please ... what about the hair shader ... is it possible to have the opacity fading out from the "core"? I dont mean phong or specular hair normal, but I want the line to be most opaque in the centre and fading out. additive mode - settings.hiplc 2 Quote Link to comment Share on other sites More sharing options...
ikoon Posted October 13, 2016 Author Share Posted October 13, 2016 (edited) I have tried to make it more clear. Here is what I would like to accomplish. Please, is it possible? Maybe with hair shader? And is it going to be fast? Edited October 13, 2016 by ikoon Quote Link to comment Share on other sites More sharing options...
MENOZ Posted October 13, 2016 Share Posted October 13, 2016 it's just an idea, you could use the uv attributes of the curve to drive the shader. 1 Quote Link to comment Share on other sites More sharing options...
dobin Posted October 13, 2016 Share Posted October 13, 2016 why not convert the curves to geo light and control the attenuation? color and opacity along the line could be set on point attributes and adjusted in the shader. 1 Quote Link to comment Share on other sites More sharing options...
MENOZ Posted October 13, 2016 Share Posted October 13, 2016 I dont' think he wants to emit light, he want to control the "glow". I did a quick shader just to control the core of the line, see if there's something that might help you in there. additive mode - shader Menoz.hiplc.hipnc 4 Quote Link to comment Share on other sites More sharing options...
ikoon Posted October 13, 2016 Author Share Posted October 13, 2016 (edited) Thank you very much, Andrea. This is great! I have tried to add a ramp to make the ends "round" a bit. I will make more development, but everything seems possible it renders very fast. Thank yout! Tests are attached. As regards fake volume ... this is quite easy. But what about the proximity shader on the polygon mesh, have you seen anything like that? I would like to see the proximity of the curve on polygon. Something like a fake light emission from the curve onto polygon. I could use the attribute transfer SOP from curve to mesh, but that would need many points or remeshing. Do you understand what I mean? Is it possible with some shader on the polygon mesh? EDIT: I also cannot make this "curve shader" to be seen in reflections :-/ am I doing something wrong, or is it not possible? It is probably due to the additive mode? additive mode - shader Menoz - ramp along length.hiplc Edited October 13, 2016 by ikoon Quote Link to comment Share on other sites More sharing options...
Thomas Helzle Posted October 14, 2016 Share Posted October 14, 2016 This is brilliant! Thank you guys so much for this superfast additive render trick! I was able to render my point-advected splines in seconds instead of hours... Cheers, Tom 3 Quote Link to comment Share on other sites More sharing options...
Thomas Helzle Posted October 17, 2016 Share Posted October 17, 2016 (edited) I created a version of the shader from MENOZ for points that works exactly the same way as the one for lines but in a circular manner like in this combined image: Both versions are contained in this .gal file, they are called FastGlow and FastGlowPoint. Additive.gal For this trick to work, Mantra needs to have Stochastic Samples disabled and be in Raytracing Mode. I hope it's useful. Cheers, Tom Edited January 11, 2017 by Thomas Helzle 1 Quote Link to comment Share on other sites More sharing options...
ikoon Posted November 2, 2016 Author Share Posted November 2, 2016 I have made experiment to "fake volume glow" with pyro shader + vdb from points + cloud noise + volume booleans. My scene file is unfortunately untidy as I am tired and busy but if anybody is interested, I will clean it and upload. The idea is quite simple, and of course it will not look as good as real pbr. But render times are fast, probably the same as rendering classic pyro. Some extra time is needed for that vdb and cloud noise. 5 Quote Link to comment Share on other sites More sharing options...
ikoon Posted November 2, 2016 Author Share Posted November 2, 2016 (edited) <naive>Another fake that came to my mind: Convert the surface of the smoke to polygons (Convert VDB). Then evaluate Normals of the smoke surface (is it exposed to those "glowing" lines?) and then add more fake glow to the exposed areas of smoke.</naive> EDIT: In the morning I realized that the surface poly method is naive, because it would flicker when animated. Edited November 2, 2016 by ikoon Quote Link to comment Share on other sites More sharing options...
ikoon Posted November 2, 2016 Author Share Posted November 2, 2016 (I have edited the previous post) Now I have another question, please: There is the VDB Occlusion Mask SOP, which is super super fast and for this test video it generates the mask (shadows) realtime, cca 40fps. Please, I did not manage to convert the boolean VDB result to float VDB result We could use that superfast VDB Occlusion principle to drive the Temperature and Heat of the Pyro shader and make the volume glow nicely. Or not? vdb - v1.hiplc 2 Quote Link to comment Share on other sites More sharing options...
MENOZ Posted November 5, 2016 Share Posted November 5, 2016 here is another way to fake the light. you can sample your geometry color and based on the distance you can dim the intensity. You only have to remember to export the values you want from the "source" object and read it back in the shader. in the scene there's a quick example. You could also do the same reading point clouds, it's probably cheaper and easier. hope it helps or gives some ideas.. sampleGather.hipnc 1 Quote Link to comment Share on other sites More sharing options...
ikoon Posted November 21, 2016 Author Share Posted November 21, 2016 Menoz thank you very much! That gather() function seems to be very powerful. Mantra is amazing, but it requires very deep and complex knowledge, which I dont have now. But I will still dig deeper. Maybe somebody could optimize these fake shaders and techniques and make a packet (glow source, volume, surface material) and sell it on the asset store?I have uploaded my latest scene here. I have also added sticky notes which should guide even novice users. Preview of renders is here. Quote Link to comment Share on other sites More sharing options...
pingo Posted April 20, 2017 Share Posted April 20, 2017 Hey guys, awesome thread. However I can't seem to get this additive point render method working in Houdini 16. Black screen. Tried in 15.5 and renders perfect.. any thoughts? Quote Link to comment Share on other sites More sharing options...
Thomas Helzle Posted April 20, 2017 Share Posted April 20, 2017 Works the same for me (I use 16.0.583 if that should make a difference). - To see the gallery materials I posted, you need to enable "All Materials" in the dropdown in the header of the Material Palette since by default H16 only shows the "mat" context materials. - You still need to use Raytracing and disable Stochastic Transparency in the Mantra ROP. - For the points, you need to have point rendering in the object -> geometry tab active. Cheers, Tom Quote Link to comment Share on other sites More sharing options...
James Watt Posted November 24, 2017 Share Posted November 24, 2017 Hey guys, this is great stuff here! Love the curve and point shaders. Was wondering, does anyone know why the shader for points wouldn't work on a particle system. I thought that a particle system was just a series of points. Are they handled differently? Thanks! Quote Link to comment Share on other sites More sharing options...
ocalaf Posted December 7, 2017 Share Posted December 7, 2017 After seeing this post, I'm asking myself if it could be used to achive the classic retro neon grid look, feel free to have a look there: I created a new one because I'm afraid you would say me this is not the "proper" way of doing that Quote Link to comment Share on other sites More sharing options...
simonfarussell Posted July 5, 2018 Share Posted July 5, 2018 I was wondering if anyone could help. I'm trying to get Thomas' shaders in the Additive.gal file to work. I've attached my scene. I've added the shop material to the geometry, put it in Raytracing in Mantra and turned off Stochastic Transparency. I'm sure I'm missing something obvious. Any pointers would help. Best, Simon Addative Rendering.hiplc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.