Sign in to follow this  

solids , textures and problem

Recommended Posts

In principle I want to create a solid, say a cube, full of x values, eg float4 (1,0,01) in the sense that all points of the cube worth x.
Then I want to create a 3D texture with indices x, y and z, so that if x, y and z lie within the texture I can read the pixel value, otherwise I would read 0 .
I wish I could have n (max 10) solid of this type and reletive textures.
The application I need must know whether a given coordinate x,y,z is all 'inside of the 3D texture.
If it is, I must read the value, otherwise go to the next sequence texture.

I thought of a 3D texture, but could go the stencil buffer?
or some 10 or 11 buffers ?
Finally, i would should be able to translate or rotate the solid (the solid cube of 1. 0. 0. 1.) and its relative texture.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this