Jump to content

embed a solid object in a volume ?


Recommended Posts

  • 2 weeks later...

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 ?

post-15-1060305808.jpg

Link to comment
Share on other sites

Yes! Depth map may help :) (not sure about aliasing). B)

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 :huh:

post-15-1060383870.jpg

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...