• Advertisement
Sign in to follow this  

solids , textures and problem

This topic is 2727 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement