Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,643 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
3d Line ? #74250
05/15/06 11:58
05/15/06 11:58
Joined: Dec 2004
Posts: 237
H
Hani Offline OP
Member
Hani  Offline OP
Member
H

Joined: Dec 2004
Posts: 237
hi there
is there a way i can draw a 3d line without the need to create bipmaps all the way ? i mean something like the ( draw_point3d ) instruction but for line ?

thanks


The deference between madness and geniuses is success
Re: 3d Line ? [Re: Hani] #74251
05/15/06 14:59
05/15/06 14:59
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
draw_line(VECTOR*, COLOR*, var alpha) ??
you should really learn to use the manual, works great


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: 3d Line ? [Re: Helghast] #74252
05/15/06 17:31
05/15/06 17:31
Joined: Jun 2005
Posts: 184
Austria
HIAS Offline
Member
HIAS  Offline
Member

Joined: Jun 2005
Posts: 184
Austria
draw_line draws only lines in 2d space for 3d lines you'll have to use particles

Re: 3d Line ? [Re: HIAS] #74253
05/16/06 06:47
05/16/06 06:47
Joined: Dec 2004
Posts: 237
H
Hani Offline OP
Member
Hani  Offline OP
Member
H

Joined: Dec 2004
Posts: 237
draw_line draws a 2d line not 3d, anyway i solve it by placeing a cube (1 qad )
then i scale it to the distance i want.

work juts fine,

and by the way i realy know how to use the manual


The deference between madness and geniuses is success
Re: 3d Line ? [Re: Hani] #74254
05/16/06 06:53
05/16/06 06:53
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
I use a particle with streak flag for this.

Re: 3d Line ? [Re: FBL] #74255
05/16/06 13:12
05/16/06 13:12
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
i use a simple primitive model with a single color/material to it then scale it based on the distance between the 2 points needed

( so you need a little math in there for your scaling... model is Z quants long and then distance points A<->B)

distance / modelZ ( min result of 1) = scale

the 'bottem' of my model would be centered and flush with its origin so model starts at point A align model to direction of A<->B (direction vector) then scale it ( above)

Re: 3d Line ? [Re: Grimber] #74256
05/16/06 18:30
05/16/06 18:30
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
use easy particle 3.. works like a charm for lines! then just import it and place it where you want.


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: 3d Line ? [Re: DLively] #74257
05/16/06 19:22
05/16/06 19:22
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
I would go for grimber's method, easy and clean... probably the lowest fps-eating method


Click and join the 3dgs irc community!
Room: #3dgs
Re: 3d Line ? [Re: Joozey] #74258
05/24/06 14:59
05/24/06 14:59
Joined: Jun 2005
Posts: 184
Austria
HIAS Offline
Member
HIAS  Offline
Member

Joined: Jun 2005
Posts: 184
Austria
This is a 3d particle lines sample from the old wiki here

Hias

Re: 3d Line ? [Re: HIAS] #74259
03/09/07 19:35
03/09/07 19:35
Joined: Feb 2003
Posts: 195
slacker Offline
Member
slacker  Offline
Member

Joined: Feb 2003
Posts: 195
Quote:

This is a 3d particle lines sample from the old wiki here

Hias




I could use this script and can not log in here with either my main user/pass or forum user/pass- or is there an updated draw line 3d?

Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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