Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Custom 3d shape


This question is not answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 8 - Last Post: Jun 21, 2014 9:25 AM Last Post By: Eitan Arbel
glen morse

Posts: 6
Registered: 1/15/12
Custom 3d shape  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 15, 2014 8:52 PM
Hello , Using EX2 and was trying to make a hexagon 3d shape.. Currently I see there is a TCube so figured there might be a way to create a THex based of the same code, but I was unable to do this. Was hopeing someone could or maybe all ready have this.

Thanks in advance
Glen
Eli M

Posts: 1,346
Registered: 11/9/13
Re: Custom 3d shape
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 16, 2014 7:52 AM   in response to: glen morse in response to: glen morse
glen morse

Posts: 6
Registered: 1/15/12
Re: Custom 3d shape  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 16, 2014 11:12 PM   in response to: Eli M in response to: Eli M
Eli M wrote:
Take a look at this maybe:

http://www.innovasolutions.com.au/delphistuf/AThreeDRod.htm

This does look helpfull.. trying now to have it create a hex shape instead of rod shape though..But not as easy as i would think..

Edited by: glen morse on Jun 16, 2014 11:33 PM
glen morse

Posts: 6
Registered: 1/15/12
Re: Custom 3d shape  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 17, 2014 9:28 PM   in response to: glen morse in response to: glen morse
Still no luck, if anyone has a THex or can give some sort of sample they did using a hex 3d shape. It would be great!

Thanks
Glen
Douglas Rudd

Posts: 314
Registered: 5/16/97
Re: Custom 3d shape  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 18, 2014 1:43 AM   in response to: glen morse in response to: glen morse
You can make a six sided TPath3D and extrude it with the depth property.
glen morse

Posts: 6
Registered: 1/15/12
Re: Custom 3d shape  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 18, 2014 1:48 AM   in response to: Douglas Rudd in response to: Douglas Rudd
Douglas Rudd wrote:
You can make a six sided TPath3D and extrude it with the depth property.

never thought about that. Was under the assumption that TPath3D only did "flat" objects. Also thought about using TMesh but I dont know how to get the points / normals / ect... for the data part. Could not really find much on how to get this either.
glen morse

Posts: 6
Registered: 1/15/12
Re: Custom 3d shape  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 19, 2014 11:22 PM   in response to: glen morse in response to: glen morse
glen morse wrote:
Douglas Rudd wrote:
You can make a six sided TPath3D and extrude it with the depth property.

never thought about that. Was under the assumption that TPath3D only did "flat" objects. Also thought about using TMesh but I dont know how to get the points / normals / ect... for the data part. Could not really find much on how to get this either.

When i do this, It seems to work but with one issue. . IF i am looking at the hex from the side. Then it makes the side i am looking at invisiable and all i see is the back part of the hex.. added a picture link so you can see what i am talking about

http://someimage.com/vXzBrtF

Edited by: glen morse on Jun 19, 2014 11:24 PM

Edited by: glen morse on Jun 19, 2014 11:24 PM
Douglas Rudd

Posts: 314
Registered: 5/16/97
Re: Custom 3d shape  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 20, 2014 1:57 PM   in response to: glen morse in response to: glen morse
I don't know if its any different in XE2 but this is what I get in XE6:
http://someimage.com/DO344ef

You using textures on there? What happens when you make it plain without textures?

Here is a simple hexagon shape I put in the Path Data:
M328,560 L104,553 L0,356 L117,166 L340,173 L446,370 Z

See if that works any different.
Eitan Arbel

Posts: 508
Registered: 2/24/13
Re: Custom 3d shape  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 21, 2014 9:25 AM   in response to: glen morse in response to: glen morse
maybe the camera is too close to the object?
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02