Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / ghosted limb 0?

Author
Message
Chiwawa
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 21st Apr 2003 23:12
wtf.....can you ...say me why my limb 0 is..semi ghosted?
i mean..you always see the limb trought it...

Chiwawa
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 21st Apr 2003 23:14
and it seem to be related to .."lock object on" .....because when i dont lock it on..it work perfectly...but..there is a way to fix that?

DBV1.13
Chiwawa
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 21st Apr 2003 23:36
then........wtf?
Chiwawa
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 22nd Apr 2003 00:24
?
Danmatsuma
22
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 22nd Apr 2003 00:52
It's not ghosted, the normals are flipped, but it is weird...
try changing the order in which you do the commands.

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.
Chiwawa
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 22nd Apr 2003 01:36
[/code]no..it does not work...ive replaced the command lock object on....by....some math.. but i forgot the X rotation of the camera...anyway it was just to fix the "ghost" bug..now i can work

[code]
autocam off
sync on

make object box 1,5,5,40
make object box 2,3,3,20
make mesh from object 1,2
delete object 2
make object box 3,4,4,20
make mesh from object 2,3
delete object 3

set object rotation ZYX 1

color limb 1,0,rgb(184,104,32)
add limb 1,1,1
color limb 1,1,0
add limb 1,2,2
color limb 1,2,0

offset limb 1,1,0,0,20
offset limb 1,2,0,4.5,0


do
ay#=wrapvalue(ay#+1)
yrotate camera ay#
position object 1,camera position x()+(sin(Ay#)*30)+(sin(Ay#+90)*10),camera position y()-10,camera position z()+(cos(Ay#)*30)+(cos(Ay#+90)*10)
rotate object 1,350,wrapvalue(ay#-10.0),0

sync
loop

Login to post a reply

Server time is: 2025-05-16 16:34:09
Your offset time is: 2025-05-16 16:34:09