2 registered members (TipmyPip, 1 invisible),
18,758
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: So simple...
[Re: FBL]
#245315
01/09/09 11:53
01/09/09 11:53
|
Joined: Oct 2004
Posts: 4,134 Netherlands
Joozey
Expert
|
Expert
Joined: Oct 2004
Posts: 4,134
Netherlands
|
Like: 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]
#245321
01/09/09 12:47
01/09/09 12:47
|
Joined: Sep 2003
Posts: 9,859
FBL
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 9,859
|
Like: 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
FBL
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 9,859
|
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
Vadim647
OP
Senior Member
|
OP
Senior Member
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: FBL]
#245404
01/09/09 20:02
01/09/09 20:02
|
Joined: Feb 2008
Posts: 337
Vadim647
OP
Senior Member
|
OP
Senior Member
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
Crypton
Junior Member
|
Junior Member
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
|
|
|
|