wildparky Posted July 30, 2003 Share Posted July 30, 2003 using Not "VEX 3D Texture Fog SHOP" but "VEX 3D Texture Cloud SHOP" , How can i embed a solid object in a volume ? Quote Link to comment Share on other sites More sharing options...
AndrewVK Posted July 30, 2003 Share Posted July 30, 2003 You can rewrite "3D Texture Cloud" from "Backward Raymarcher" to "Forward Raymarcher" ...but it`s not a good idea, because Rayhittest must be used also to clip raymarcher against embeded object Quote Link to comment Share on other sites More sharing options...
wildparky Posted August 8, 2003 Author Share Posted August 8, 2003 thanks a lot , but i can't do that . so i'm trying to use the depthmap(). " if the depthmap() indicates we are in shadow from the camera depth view then stop tracing the ray after this point. " i know the depth from camera view of embed object but don't know depth of ray. how can i know that we are in shadow ? Quote Link to comment Share on other sites More sharing options...
AndrewVK Posted August 8, 2003 Share Posted August 8, 2003 Yes! Depth map may help (not sure about aliasing). Unfortunately i cant help with VOP because i have no idea how to deal with functions and loops within VOPNet I can post modified "3D Texture Cloud" shader if You want, but i cant explain it in english Quote Link to comment Share on other sites More sharing options...
wildparky Posted August 9, 2003 Author Share Posted August 9, 2003 yes plz post that. Quote Link to comment Share on other sites More sharing options...
AndrewVK Posted August 9, 2003 Share Posted August 9, 2003 Depth map must be rendered from main camera as sequence of images if camera or embeded object moves. !!!!!: Volume object must be excluded from depth map pass with help of "Visible Objects" mask: * ^MyVolume or (much faster) Embeded1 Embeded2 Embeded107-256 How to instal: File -> New Operator Type. Operator Name: cloudi3d Operator Label: VEX I3D Cloud Operator Style: Vex Type Network Type: Surface Shader Operator Save To Library:....choice one Click Accept. Oterator Type Properties dialog opens Switch to VEX Code tab Delete template strings...copy & paste new code. Test Compile and click Accept. Bad News: This shader doesnt work when camera passes throug volume object How to apply i3d based surface shaders: http://odforce.net/forum/index.php?act=ST&...dca9fd5552bc54f cloudi3d.zip Quote Link to comment Share on other sites More sharing options...
wildparky Posted August 11, 2003 Author Share Posted August 11, 2003 Thanks a lot andrew .!!. here is a simple vop version. palette.zip 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.