Jump to content


Photo

Ex3d 2


  • Please log in to reply
6 replies to this topic

#1 doug25

doug25

    GMC Member

  • New Member
  • 35 posts

Posted 23 June 2011 - 09:15 PM

I have completed creating a 3d dll which extends the 3d capabilities of Game Maker. This is the second version after the first.

The download comes with a terrain making program and full documentation on how to use the dll.

Ex3d 2 download

You must first extract the files to a folder before getting started.

The dll uses DirectX 9.0, I have included the required d3dx9_35 dll which was downloaded from dll-files.com

Ex3d 2 can convert 3d coordinates to 2d and 2d to 3d
For example, after setting world projection values you could use
Ex3d_get2dCoord(x,y,z);
and Ex3d_getX(), Ex3d_getY() to get a corresponding point on the screen.

The dll also lets you find the height of a terrain for different coordinate systems e.g. where z is the up axis
or where y is the up axis.

The function Ex3d_getHeightAndAngles(model id, hor, vert) lets you retrieve both the height and angles of a point(hor,vert) and face on the terrain.

In addition you can do basic collision detection with lines(rays) in the 3d world and models.
the d3d_model_load2 function can help you with this to load a model created in some modelling program like Blender.

Here is a screenshot of the sample program:
Posted Image

Enjoy!

Edited by doug25, 06 July 2011 - 08:54 PM.

  • 0

#2 orange451

orange451

    GMC Member

  • GMC Member
  • 1411 posts
  • Version:GM8.1

Posted 05 July 2011 - 11:51 PM

To be honest, this is quite nice, but I don't I'll be using it, at least not for awhile.
If only you released this a month ago, I've gotten into P3DC for my raycasting D:

Edited by orange451, 06 July 2011 - 04:04 AM.

  • 1

bC14QqN.pngNrTFeil.png


#3 MasterOfKings

MasterOfKings

    The True Master

  • GMC Member
  • 4888 posts
  • Version:GM8

Posted 06 July 2011 - 02:20 AM

A few more details would be nice; like what version of DX does it use?

-MoK
  • 0

Did I help you? If so, help me by pressing the + button above here.


bannersyd.png

banner22z.png


#4 The Scorpion

The Scorpion

    GMC Member

  • GMC Member
  • 428 posts
  • Version:GM8

Posted 09 July 2011 - 08:52 AM

A few more details would be nice; like what version of DX does it use?

-MoK


He was quite clear about that :

The dll uses DirectX 9.0, I have included the required d3dx9_35 dll which was downloaded from dll-files.com

5th line if you insist :D

EDIT

By the way, this is pretty nice! One thing, you say you use DX9, but you still use GM native 3D; if you can make it render 3d to the screen with your DLL :) That would ::lmao::

Edited by The Scorpion, 09 July 2011 - 09:07 AM.

  • 0
SE3, 3D model, animation and scene maker. link
Blender/3DMAX7 Animations to GM link
3D Animation 3Dmax11 to GameMaker link

#5 MasterOfKings

MasterOfKings

    The True Master

  • GMC Member
  • 4888 posts
  • Version:GM8

Posted 10 July 2011 - 02:17 PM

@The Scorpion: None of that information was there when I posted. You'll see they edited the post a day after I said they should include a few more details.

-MoK
  • 0

Did I help you? If so, help me by pressing the + button above here.


bannersyd.png

banner22z.png


#6 OMAGA

OMAGA

    GMC Member

  • New Member
  • 208 posts

Posted 14 July 2011 - 07:42 AM

What is the license on this?
  • 0

#7 doug25

doug25

    GMC Member

  • New Member
  • 35 posts

Posted 15 July 2011 - 06:49 PM

What is the license on this?


It's free, "AS IS". You may do what you want with it
  • 0