Ooops
May 27, 2020, 08:10:19 AM

Author Topic: new monkey2 3d render animation  (Read 1754 times)

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1712
new monkey2 3d render animation
« on: November 08, 2017, 02:32:49 PM »
OK, so here is my new 3d renderer in action.


CPU usage is a static 7.1%, and compiles flawlessly on Windows and MacOS.
Heavily optimised for multiple small 3d objects and many shaders.
If you look really closely you can see that all the vegetation is in motion and is all models and not flats with sprites!

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 2444
Re: new monkey2 3d render animation
« Reply #1 on: November 08, 2017, 04:33:35 PM »
Looks good  :)
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Catalina, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.3, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
Raspberry pi 3 and 4.

Offline Pingus

  • Jr. Member
  • **
  • Posts: 94
Re: new monkey2 3d render animation
« Reply #2 on: November 08, 2017, 11:24:20 PM »
Yes looks good. CPU, GFX, FPS ?

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1712
Re: new monkey2 3d render animation
« Reply #3 on: November 09, 2017, 06:57:23 AM »
just did a quick test on the old MacBook (2013), so I'll report those:
CPU 2.5 i5 (10.3% not being taxed at all)
GPU intel HD 4000
RAM 8gb
Windowed 1124, 740
FPS RockSolid 60

As you can see this is quite an old machine with relatively low specs, so is a great test.


Offline BasicBoy

  • Full Member
  • ***
  • Posts: 149
Re: new monkey2 3d render animation
« Reply #4 on: November 09, 2017, 08:02:15 AM »
Is that all software-based rendering then, including the texture mapping?



Offline therevills

  • Hero Member
  • *****
  • Posts: 607
Re: new monkey2 3d render animation
« Reply #5 on: November 09, 2017, 08:23:02 AM »
Cool!

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1712
Re: new monkey2 3d render animation
« Reply #6 on: November 09, 2017, 08:25:09 AM »
it's custom OpenGL + shaders. so hardware, but minimal hardware so will work on anything

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1712
Re: new monkey2 3d render animation
« Reply #7 on: November 09, 2017, 12:59:05 PM »
Here's a really interesting in dev shot:


It shows an overplayed 2d 'Page' with 4 vertical sliders. Looking at the bottom you can see they are mono, red, green, blue.
And... Looking again at the pic, you can see that the mono setting has desaturated the image, and also there are some color modifier going on as well. There are all live, so you can just play and get the result you want!

You could set the color faders down so they are dark, and then flash them to have lightning, etc where the entire opengl output responds.

Offline Pingus

  • Jr. Member
  • **
  • Posts: 94
Re: new monkey2 3d render animation
« Reply #8 on: November 09, 2017, 03:08:02 PM »
60 fps on a 2013 machine (Hd4000) sounds decent. Resolution is not very high tough (1280x960 I guess) ?

Offline Chamferbox

  • Jr. Member
  • **
  • Posts: 6
    • Chamferbox
Re: new monkey2 3d render animation
« Reply #9 on: December 22, 2017, 08:44:44 AM »
nice mini map I would like one on my desk please  :D
iWasAdam may I ask which 3d format monkey2 supports? Is b3d still good?
Game assets for your projects
http://chamferbox.com

Offline GaborD

  • Sr. Member
  • ****
  • Posts: 335
Re: new monkey2 3d render animation
« Reply #10 on: December 22, 2017, 08:09:10 PM »
Looks really good!

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1712
Re: new monkey2 3d render animation
« Reply #11 on: December 23, 2017, 06:38:11 AM »
Although this is monkey2 it is NOT MOJO3D. it is custom opengl.

GaborD. I would really like to see about getting some idea from you about how you deal with openGL and see if we can get some stuff working between us on monkey2 :)

Offline GaborD

  • Sr. Member
  • ****
  • Posts: 335
Re: new monkey2 3d render animation
« Reply #12 on: December 23, 2017, 12:40:29 PM »
I will have to get Monkey2, haven't used it yet.
Would be an interesting challenge to push it as far as possible.

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1712
Re: new monkey2 3d render animation
« Reply #13 on: December 23, 2017, 12:54:22 PM »
Definitely be up for some more opengl work. I've got a basic framework, but it's nothing too special.

My main gripe with MOJO3D is Mark insists on hiding EVERYTHING. I don't get the premise he uses which is load the objects put them in a scene and thats it - you have to show/hide the placed objects.

My way is to load objects, and decide per frame what you want to render and where and how many, etc

What are your thoughts?

Offline GaborD

  • Sr. Member
  • ****
  • Posts: 335
Re: new monkey2 3d render animation
« Reply #14 on: December 23, 2017, 01:55:58 PM »
Well I am assuming he is doing some kind of auto culling (full object culling when out of the cam frustum), otherwise framerate would suffer in big scenes unless the user does it manually all the time.
But additionally the user should always be in control (and even be able to override the auto-culling, like for instance when moving vertices in the vertex shader, which the engine can't know about for culling purposes and thus would hide/show objects at the wrong places)
NB had hideEnt(true/false) for ease of use. I actually use that a lot.


 

SimplePortal 2.3.6 © 2008-2014, SimplePortal