Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Ayumi, NewbieZorro, TipmyPip), 13,888 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: So simple... [Re: FBL] #245315
01/09/09 11:53
01/09/09 11:53
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
Like:

Quote:
ent_getmesh(ENTITY* ent,var num,var lod);
ent_setmesh(ENTITY* ent,void* mesh,var num,var lod);
Returns or sets the DirectX mesh of the given model or terrain entity.



?

Last edited by Joozey; 01/09/09 11:55.

Click and join the 3dgs irc community!
Room: #3dgs
Re: So simple... [Re: Joozey] #245317
01/09/09 12:03
01/09/09 12:03
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
the problem is that it doesn't seem to be possible to set the mesh of an empty dummy entity.

Re: So simple... [Re: Joozey] #245321
01/09/09 12:47
01/09/09 12:47
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Originally Posted By: Joozey
Like:

Quote:
ent_getmesh(ENTITY* ent,var num,var lod);
ent_setmesh(ENTITY* ent,void* mesh,var num,var lod);
Returns or sets the DirectX mesh of the given model or terrain entity.



?


That's not the point.
I want to create primitives on the fly (like in Darkbasic) and not have to learn how the mesh is stored internally and then assebmles by hand...

Re: So simple... [Re: FBL] #245322
01/09/09 12:51
01/09/09 12:51
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Quote:

V7.67 - in development
A predefined primitive cube, sphere, and sprite entity can now be created with ent_create.



Now that was fast O_o

Re: So simple... [Re: FBL] #245324
01/09/09 13:41
01/09/09 13:41
Joined: Feb 2008
Posts: 337
V
Vadim647 Offline OP
Senior Member
Vadim647  Offline OP
Senior Member
V

Joined: Feb 2008
Posts: 337
...
And what about the polygon drawing...?


I switched to other account since marth 2010. Guess which.
Re: So simple... [Re: Vadim647] #245325
01/09/09 13:48
01/09/09 13:48
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
so we can go 3d easily on winter contest!


3333333333
Re: So simple... [Re: Quad] #245361
01/09/09 16:59
01/09/09 16:59
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Originally Posted By: Quadraxas
so we can go 3d easily on winter contest!


LOL! yeah!

Re: So simple... [Re: Cowabanga] #245381
01/09/09 17:58
01/09/09 17:58
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Well it's not implemented for the current public beta. I guess we won't see it soon enough smile

Re: So simple... [Re: FBL] #245404
01/09/09 20:02
01/09/09 20:02
Joined: Feb 2008
Posts: 337
V
Vadim647 Offline OP
Senior Member
Vadim647  Offline OP
Senior Member
V

Joined: Feb 2008
Posts: 337
I wish I'd be able to see\download those beta's...


I switched to other account since marth 2010. Guess which.
Re: So simple... [Re: Vadim647] #245406
01/09/09 20:11
01/09/09 20:11
Joined: Oct 2008
Posts: 67
C
Crypton Offline
Junior Member
Crypton  Offline
Junior Member
C

Joined: Oct 2008
Posts: 67
Just a thought.
When there is a possibility to create shaped meshes / entities, then there would be possibility to manipulate their surface too
f.i ent_flip_mesh ; ent_color etc.
flip_mesh has some advantages. For example entities react to fog etc. So when creating an sphere mesh and flipping it, there is a way to fill room with visible fog without making a huge map entity cube. useful for open air games, flying or smth, that needs this atmospheric look, probably better to make visible skybox too that is blended with the fog... although when no image is possible then with ent_color you could color the entity.

Cheers!


New into Gamestudio and eager to learn it..
Stuff and games done in 2D: LINK
Page 2 of 2 1 2

Moderated by  aztec, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1