CGTalk > Software > Autodesk 3ds max
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 07-17-2013, 10:43 AM   #1
eday
New Member
portfolio
Turkey
 
Join Date: Jun 2013
Posts: 12
3 dimensional line between given two points

Hi everyone, I wonder how could I write a function that draws 3dimensional line between two given point. I've already looked the" how to "part of help document of 3dsmax but; by this way , the line coulnt be seen through some angles. That's why I 've need the 3 dimensional line like pie or tube, Is there anyone who can help me ? thanks in advance!
 
Old 07-17-2013, 12:44 PM   #2
Swordslayer
isKindOf Artist
 
Swordslayer's Avatar
portfolio
Vojtech Cada
3D generalist
Czech Republic
 
Join Date: Jun 2006
Posts: 357
Send a message via ICQ to Swordslayer
If I get it right, just make the line renderable and set its thickness accordingly.
__________________
Blog :: LinkedIn profile
 
Old 07-17-2013, 02:52 PM   #3
em3
day dreamer
 
em3's Avatar
portfolio
Dave Tyner
3D Artist
Polyform Media
Denver, United%2BStates
 
Join Date: Jan 2004
Posts: 984
Send a message via Yahoo to em3
Quote:
Originally Posted by eday
Hi everyone, I wonder how could I write a function that draws 3dimensional line between two given point. I've already looked the" how to "part of help document of 3dsmax but; by this way , the line coulnt be seen through some angles. That's why I 've need the 3 dimensional line like pie or tube, Is there anyone who can help me ? thanks in advance!


This will do it.

Code:
p1 = [0,0,0] p2=[10,10,10] ss = SplineShape pos:p1 addNewSpline ss addKnot ss 1 #corner #line p1 addKnot ss 1 #corner #line p2 updateShape ss
__________________
www.davetyner.com
 
Old 07-17-2013, 02:52 PM   #4
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 09:18 PM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.