Jump to content

  • Log In with Google      Sign In   
  • Create Account

Calling all IT Pros from Canada and Australia.. we need your help! Support our site by taking a quick sponsored surveyand win a chance at a $50 Amazon gift card. Click here to get started!


DX11 - Volume Rendering - Article Misunderstanding


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
23 replies to this topic

#21 Migi0027 (肉コーダ)   Crossbones+   -  Reputation: 3811

Like
0Likes
Like

Posted 09 September 2013 - 12:33 PM

You seem awfully quiet about this subject, did I do something stupid? huh.png


FastCall22: "I want to make the distinction that my laptop is a whore-box that connects to different network"

Blog about... stuff (GDNet, WordPress): www.gamedev.net/blog/1882-the-cuboid-zone/cuboidzone.wordpress.com/


Sponsor:

#22 Styves   Members   -  Reputation: 1144

Like
0Likes
Like

Posted 09 September 2013 - 03:00 PM

A few things:

 

  • What format is your back/front textures? If it's 8bit you should scale to 0-1 range for output (if you're using HDR values then you should be fine).
  • Your position should be in texture space. That is, bias and scale it from [-1, 1] to [0, 1] (pos * 0.5 + 0.5) when you read your texture.


#23 Migi0027 (肉コーダ)   Crossbones+   -  Reputation: 3811

Like
0Likes
Like

Posted 10 September 2013 - 09:39 AM

The format is: DXGI_FORMAT_R32G32B32A32_FLOAT


FastCall22: "I want to make the distinction that my laptop is a whore-box that connects to different network"

Blog about... stuff (GDNet, WordPress): www.gamedev.net/blog/1882-the-cuboid-zone/cuboidzone.wordpress.com/


#24 Migi0027 (肉コーダ)   Crossbones+   -  Reputation: 3811

Like
0Likes
Like

Posted 10 September 2013 - 10:29 AM

Btw, when adding the normalization of the rays, this happens: ( It repeats itself )

 

2e3prut.png

float3 dir = normalize(back - front);

FastCall22: "I want to make the distinction that my laptop is a whore-box that connects to different network"

Blog about... stuff (GDNet, WordPress): www.gamedev.net/blog/1882-the-cuboid-zone/cuboidzone.wordpress.com/





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS