Post Your Irrlicht Screenshots / Render Here.

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.

Re: Post Your Irrlicht Screenshots / Render Here.

Postby hendu » Mon Oct 17, 2011 12:18 pm

Now with textures on. Damn tri-planar mapping is expensive.

Image
hendu
 
Posts: 1556
Joined: Sat Dec 18, 2010 12:53 pm

Re: Post Your Irrlicht Screenshots / Render Here.

Postby Mel » Sun Oct 23, 2011 4:50 pm

10.000 GPU based billboards rendered in a single draw call :)

Image

I guess that with a terrain things would look better... :P
http://santiagong.daportfolio.com/
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
User avatar
Mel
Competition winner
 
Posts: 1783
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Re: Post Your Irrlicht Screenshots / Render Here.

Postby hendu » Sun Oct 23, 2011 5:46 pm

So, point sprites and maybe instancing?
hendu
 
Posts: 1556
Joined: Sat Dec 18, 2010 12:53 pm

Re: Post Your Irrlicht Screenshots / Render Here.

Postby Mel » Sun Oct 23, 2011 9:56 pm

No, there is no instancing, It is simply a lot of square polygons. So far, i don't know how to use point sprites in Irrlicht, Maybe i am reinventing the wheel ^^U

Anyway, it is already improved to have fog, wind and support for tangent space. But with 16 bit indices, it can't have more than 16384 billboards inside a single meshbuffer
http://santiagong.daportfolio.com/
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
User avatar
Mel
Competition winner
 
Posts: 1783
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Re: Post Your Irrlicht Screenshots / Render Here.

Postby hybrid » Sun Oct 23, 2011 11:08 pm

Yeah, point sprites would allow for 65k quads. But since Irrlicht does not provide a way to use vertex buffers with special primitive types, it wouldn't be a GPU based rendering. So probably not faster anyway. But you do the alignment in the vertex shader then?
hybrid
Admin
 
Posts: 13945
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany

Re: Post Your Irrlicht Screenshots / Render Here.

Postby Mel » Mon Oct 24, 2011 9:36 am

Yes, that's it. Actually, think of each billboard, they are quads, in which each vertex is placed in a corner of the normalized texture space. So, placing the vertices in the center of each quad, and moving them to their proper place using as reference the mapping coordinates, you can process all the quads of a mesh so they face the camera, and that's pretty much everything. The good point is that simply with the position, and the texture coordinates, you can create the rest of the information you need, and, as they are simple scene nodes, they can be rotated, translated and scaled like anything else.
http://santiagong.daportfolio.com/
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
User avatar
Mel
Competition winner
 
Posts: 1783
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Re: Post Your Irrlicht Screenshots / Render Here.

Postby hendu » Mon Oct 24, 2011 12:49 pm

Even with a shader rotating them, point sprites would be faster though. But if Irr doesn't expose them, you'd need to do manual GL.
hendu
 
Posts: 1556
Joined: Sat Dec 18, 2010 12:53 pm

Re: Post Your Irrlicht Screenshots / Render Here.

Postby hybrid » Mon Oct 24, 2011 12:59 pm

As I said, you can use point sprites. But it's not possible to combine them with the hardware mapping hints (yet). So right now it's either or.
hybrid
Admin
 
Posts: 13945
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany

Re: Post Your Irrlicht Screenshots / Render Here.

Postby hendu » Mon Oct 24, 2011 2:06 pm

Sorry, I misunderstood your post as not even with sw draw calls.
hendu
 
Posts: 1556
Joined: Sat Dec 18, 2010 12:53 pm

Re: Post Your Irrlicht Screenshots / Render Here.

Postby Mel » Mon Oct 31, 2011 7:19 pm

Image

Billboards integrated in the project :)
http://santiagong.daportfolio.com/
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
User avatar
Mel
Competition winner
 
Posts: 1783
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Re: Post Your Irrlicht Screenshots / Render Here.

Postby fmx » Tue Nov 01, 2011 11:44 am

What framerates do you get? and how many polys in that scene?
You should use this screenshot in the competition instead of the other one :wink:
User avatar
fmx
 
Posts: 559
Joined: Wed Dec 06, 2006 9:28 am
Location: UK

Re: Post Your Irrlicht Screenshots / Render Here.

Postby shadowslair » Tue Nov 01, 2011 1:35 pm

@fmx: My guess is: abt. 24k for character model + abt. 10k for the visible part of the scene. FPS are probably in the 80-120 range. :)
Image
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."
User avatar
shadowslair
 
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Re: Post Your Irrlicht Screenshots / Render Here.

Postby Mel » Tue Nov 01, 2011 5:26 pm

27k for the character, and as for the visible stage, you aren't counting wha lies behind that part, which has around 5k triangles more. So, around 15k. The framerate is around 80 fps. I chose the other screenshot for the contest because i wanted to focus on the billboards, not the character.
http://santiagong.daportfolio.com/
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
User avatar
Mel
Competition winner
 
Posts: 1783
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Re: Post Your Irrlicht Screenshots / Render Here.

Postby Virion » Wed Nov 02, 2011 12:26 pm

Add some random scales to the grass = perfect (maybe some color variation too if possible). by the way you some have shinny rocks there :P
User avatar
Virion
 
Posts: 2102
Joined: Mon Dec 18, 2006 5:04 am
Location: Malaysia

Re: Post Your Irrlicht Screenshots / Render Here.

Postby Mel » Thu Nov 03, 2011 8:02 am

I have already added the color variation. The scales and the wind... I hope to achieve that effect soon...
http://santiagong.daportfolio.com/
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
User avatar
Mel
Competition winner
 
Posts: 1783
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

PreviousNext

Return to Everything 2d/3d Graphics

Who is online

Users browsing this forum: No registered users and 0 guests