Jump to content

  • Log In with Google      Sign In   
  • Create Account


REF_Cracker

Member Since 22 Feb 2000
Offline Last Active Jul 22 2014 11:32 AM
-----

#5157671 Ideas for rendering huge vegetation (foliage)

Posted by REF_Cracker on 02 June 2014 - 05:22 PM

You may find this recent series of devblog's by Casey Muratori interesting. He goes into detail about his grass planting system. Less about the rendering side of things and more about proper placement of the ground cover itself to get the best coverage with the least amount of geometry. I don't think he goes into anything about LOD.. but it does get you thinking about how to provide the best coverage.

 

Starts in "Working On The Witness, Part 5" and continues on through his reasoning into part 8 where he has some code for optimal placement.

 

http://mollyrocket.com/casey/index.html




#5155907 Doing local fog (again)

Posted by REF_Cracker on 25 May 2014 - 12:02 PM

Hey there. This came out a week ago.. May be of interest to you. There's some good videos on the site so you can see if the effect is to your liking before even reading the paper. It's essentially a ray marching post process. I believe he's working on a demo to come as well which will be nice.

http://bglatzel.movingblocks.net/publications/




#5077653 Image Based Reflections - DX11

Posted by REF_Cracker on 14 July 2013 - 01:02 PM

Thanks for the tips Hodgman!

I'm going to give it a try when I get back to work next week. I'll report my findings if I'm able to pull it off. I like how you're sampling the different mips a la irridiance map. I wouldn't have thought of that. Do you fade near the edges of the quad? Or do some sort of clamping?




#5077453 Image Based Reflections - DX11

Posted by REF_Cracker on 13 July 2013 - 06:38 PM

LJ_1102:

 

That is a great article but not the method that the Unreal Engine is using.

If you read in the comments of one of the you videos that accompanies that article the author (Sebastien Lagarde) states:

http://www.youtube.com/watch?v=Bvar6X0dUGs
 

"The algorithm aim to replace dynamic reflection. Goal is performance. So all is static and computed offline (No characters). All the details + code can be found at the links in the description of the video.The algorithm was design for current gen platform DX9/PS3/XBOX360, for modern platform there can be better way. Image-based reflection of Unreal are better quality but at a higher cost. All depends on your targets framerate."

So I'm wondering if anyone out there implemented the Unreal method!




#5077442 Image Based Reflections - DX11

Posted by REF_Cracker on 13 July 2013 - 05:47 PM

I've been reading a bit about Image Based Reflections as seen in the Epic Samaritan Demo. There's a bit of information on how they work over on this UDN page.. http://udn.epicgames.com/Three/ImageBasedReflections.html 

I was wondering if anyone has attempted supporting this type of reflection in their own engine or had any links they could point me to to learn more about how this is achieved. Since it seems to be a just quad reflector you could probably check intersection inside a pixel shader to determine texture coordinates for the quad. I'm wondering how this might be accelerated to robustly support multiple quads in a scene and limit the intersection checks.

 

Thanks in advance!




#5010736 DX9 -> Dx11 Port... Nothing being drawn?

Posted by REF_Cracker on 14 December 2012 - 03:06 PM

Haha! Did you have the same issue or are just saluting me for figuring it out? It may seem trivial but when you're in the middle of a port that took 3 days to compile and run without errors it's hard to zero in. Hoping this post helps someone out in the future!


#5010468 DX9 -> Dx11 Port... Nothing being drawn?

Posted by REF_Cracker on 13 December 2012 - 10:34 PM

SOLVED:

If anyone else is having this problem ... you want to make sure you see the viewport outline in pix. The vertex values after transforms were correct in taht they should be displayed on screen. But the viewport structure itself wasn't properly setup (D3D11_VIEWPORT and RSSetViewports) it was set to 0 pixels X 0 pixels due to the fact that setting up the backbuffer is somewhat of a special case because you have to grab it from the swap chain.

Thanks.


#5010445 DX9 -> Dx11 Port... Nothing being drawn?

Posted by REF_Cracker on 13 December 2012 - 08:43 PM

Wait a minute isn't there supposed to be a rectangle in PIX representing the viewport?
I guess that means I'm way off!


#5010421 DX9 -> Dx11 Port... Nothing being drawn?

Posted by REF_Cracker on 13 December 2012 - 07:30 PM

- I'm clearing the backbuffer to a different color every frame and that is properly flickering
- PIX shows that there is output to the viewport as you can see in the image
- None the less it appears no pixels are being written to the backbuffer

Any ideas? Thanks!

Posted Image


#4903554 Cascade Stability

Posted by REF_Cracker on 17 January 2012 - 02:58 AM

Solved:

There is a way to calculate the proper scale and offset directly form your cascade shadow viewproj matricies. It's right in the article but wasn't working due to a bug in my matrix inversion code.

The way to get the scale remains

float scale[n] = splitRadius[0] / splitRadius[n]



The offset is calculated as

float4 offset[n] = float4(0.0f,0.0f,0.0f,1.0f) * Inverse(

ShadowMat[n]) *

ShadowMat[0];




PARTNERS