Getting Max Polycount...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Ravi08
Posts: 249
Joined: Thu Jul 17, 2008 12:25 pm

Getting Max Polycount...

Post by Ravi08 »

Hi, Does anyone know how to get the max polycount or if there is a genral max count if so wat is it.

Also i was wonderin if admins can change my tag cause some dipsh*t changed mine.

Thanks in Advance
"Hey Baby Wobbling Wobbling"
-Russell Peters
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

you could loop through all your nodes and count up the polycount of the meshes used for the nodes.

alternatively there's a function, probably in IVideoDriver which returns you the number of polys sent to the gfx card, but that doesn't sound like what you're after.
Image Image Image
Ravi08
Posts: 249
Joined: Thu Jul 17, 2008 12:25 pm

Post by Ravi08 »

thanks JP ill hav a look at the API now, soz for not bein clear im tryin to know wat the max polycount is for my game, not the polycount that is being used.
"Hey Baby Wobbling Wobbling"
-Russell Peters
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Re: Getting Max Polycount...

Post by randomMesh »

Ravi08 wrote:Also i was wonderin if admins can change my tag cause some dipsh*t changed mine.
I am glad someone changed your signature because it was misogynous and just stupid.
"Whoops..."
Ravi08
Posts: 249
Joined: Thu Jul 17, 2008 12:25 pm

Re: Getting Max Polycount...

Post by Ravi08 »

randomMesh wrote:
Ravi08 wrote:Also i was wonderin if admins can change my tag cause some dipsh*t changed mine.
I am glad someone changed your signature because it was misogynous and just stupid.
Hey, i was only havin a laugh, it wasnt like i was bein offensive or anythin
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Re: Getting Max Polycount...

Post by randomMesh »

Ravi08 wrote:
randomMesh wrote:
Ravi08 wrote:Also i was wonderin if admins can change my tag cause some dipsh*t changed mine.
I am glad someone changed your signature because it was misogynous and just stupid.
Hey, i was only havin a laugh, it wasnt like i was bein offensive or anythin
Go and ask your mum if she finds this funny. :roll:
"Whoops..."
Ravi08
Posts: 249
Joined: Thu Jul 17, 2008 12:25 pm

Post by Ravi08 »

U call me stupid wen the only come bak u hav is "Go and ask your mum if she finds this funny" :shock:
Seven
Posts: 1034
Joined: Mon Nov 14, 2005 2:03 pm

Re: Getting Max Polycount...

Post by Seven »

randomMesh wrote:
Ravi08 wrote:Also i was wonderin if admins can change my tag cause some dipsh*t changed mine.
I am glad someone changed your signature because it was misogynous and just stupid.
I am also glad that it got changed. This is a programming forum, not an outlet for your insecurities. If you have programming information for us or you need programming information from us, then feel free to post away. If you just need an outlet for juvenile ranting, please go somewhere else. Maybe you could get a MySpace account for that....
Ravi08
Posts: 249
Joined: Thu Jul 17, 2008 12:25 pm

Re: Getting Max Polycount...

Post by Ravi08 »

Seven wrote:
randomMesh wrote:
Ravi08 wrote:Also i was wonderin if admins can change my tag cause some dipsh*t changed mine.
I am glad someone changed your signature because it was misogynous and just stupid.
I am also glad that it got changed. This is a programming forum, not an outlet for your insecurities. If you have programming information for us or you need programming information from us, then feel free to post away. If you just need an outlet for juvenile ranting, please go somewhere else. Maybe you could get a MySpace account for that....
Like i said above, i was only havin a laugh, it wasnt like i was bein offensive or anythin
Seven
Posts: 1034
Joined: Mon Nov 14, 2005 2:03 pm

Re: Getting Max Polycount...

Post by Seven »

it wasnt like i was bein offensive or anythin
I dont think that word means what you think it does.....
Ravi08
Posts: 249
Joined: Thu Jul 17, 2008 12:25 pm

Post by Ravi08 »

just to clarify wat was my tag cause i want to make sure that u are talkin bout the right one
CuteAlien
Admin
Posts: 9929
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

The signature you used the last days was offensive and I also found it rather annoying. I thought already about removing it myself and should probably have done that, but seems someone was faster. In short - avoid language in this forum which you wouldn't also use when talking to strangers offline.

In addition to being offensive it also contained a bad programming practice - you used an assignment operator within an if clause - though we usually don't correct that ;-)
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

It was me, in case anyone missed it I changed it to this:
if (expression = assignment)
icantprogram = true;
I figured it's much better to have a reasonably funny signature which is offensive to one person, than an unfunny one which is offensive to 50% of the world.
If you think that childish and offensive behaviour is okay then it's only fair that the same rules apply to moderation. ;)

To answer your question, the only maximum number of polygons is the maximum you can draw in one call, see IVideoDriver::getMaximalPrimitiveCount. There is no maximum for a scene, you have to find the balance of how much time you can afford to spend rendering the scene.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Ravi08
Posts: 249
Joined: Thu Jul 17, 2008 12:25 pm

Post by Ravi08 »

Thank u CuteAlien and bitplane, i do admit that the tag was childish, i only created it for humour purposes, also thanks for the help, lastly fair play to the changed tag, funny :twisted:
Ravi08
Posts: 249
Joined: Thu Jul 17, 2008 12:25 pm

Post by Ravi08 »

Just to end this post, i came up with a new tag, if u dont get it watch Russell Peters on youtube
"Hey Baby Wobbling Wobbling"
-Russell Peters
Post Reply