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.

3 Dimensional Chat / sky spheres and boxes?

Author
Message
EvilKnuckles 666
23
Years of Service
User Offline
Joined: 23rd Jun 2003
Location:
Posted: 31st May 2004 08:08
ok, i have DBP and someone told me to use texture backdrop but it says its "obsolete" and says to use sky spheres and boxes..

what are they?? and how do i use them??

http://esotericbasic.dbspot.com
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 31st May 2004 19:48
A sky sphere is a sphere with a texture of a sky on it. Culling is turned on so that you can see the texture inside the sphere, or you could just texture the inside of the sphere. The box version is a low poly version, but it is harder to texture so that the seams do not show.

EvilKnuckles 666
23
Years of Service
User Offline
Joined: 23rd Jun 2003
Location:
Posted: 31st May 2004 20:15
i just tried it, and i can get it to texture the inside but i can't get it to rotate. i tried the rotate texture thing and rotating it on the V axis but nothing changes.

http://esotericbasic.dbspot.com
MikeS
Retired Moderator
23
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 31st May 2004 20:21
I wrote a tutorial on skyspheres/boxes at the Curved Basic website. Check the DB tutorial section and you'll see how to get one working.

Quote: "i just tried it, and i can get it to texture the inside but i can't get it to rotate. i tried the rotate texture thing and rotating it on the V axis but nothing changes."


My advice would be to just rotate the object with the texture. BUT, make sure you only rotate if you're using a sky sphere. Skyboxes look too funky rotating.



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
Zone Chicken
22
Years of Service
User Offline
Joined: 25th Jan 2004
Location: `~-..-~`~-..-~`
Posted: 31st May 2004 20:37 Edited at: 31st May 2004 20:43


also not to try and highjack your thread but i can't see making a new post to ask a quesion on this, so i made two spheres one at -10000 and another at -11000 i tired setting the alpha mapping on and making the first sphere transparent to have multi layer sky spheres but the transparent sphere just turns blue, has anyone done this or or can this not be done, i havent looked at your tutorial mike ill take a look now for a answer.
EvilKnuckles 666
23
Years of Service
User Offline
Joined: 23rd Jun 2003
Location:
Posted: 31st May 2004 21:07
that sphere might be too big for your camera fov (field of view). set you camera fov to something like 15000.

http://esotericbasic.dbspot.com
EvilKnuckles 666
23
Years of Service
User Offline
Joined: 23rd Jun 2003
Location:
Posted: 31st May 2004 21:09
and i still seem to not get mine to work... when ever i turn it the texture looks all wierd. in your program it looks fine, but when i copy the code and put it on mine, it messes the whole thing up... and not to mention that's when i put "draw to back" so i can even see the texture, when i have just the text, it won't show the skysphere..

http://esotericbasic.dbspot.com
Zone Chicken
22
Years of Service
User Offline
Joined: 25th Jan 2004
Location: `~-..-~`~-..-~`
Posted: 31st May 2004 21:31 Edited at: 31st May 2004 21:33
I can see it fine untill i turn on the alpha mapping i set the fov to 20000, but thx for the reply

ok i think figured it out its one of those wierd dbp things i think
it works fine if i have the object made as 4 but wont work if the object is made as 1 strange?

screenies

blue not working as object 1

[/href]http://www.geocities.com/zcdbp2004/object1blue.JPG[href]



grey working as object 4

[/href]http://www.geocities.com/zcdbp2004/object4works.JPG[href]

EvilKnuckles 666
23
Years of Service
User Offline
Joined: 23rd Jun 2003
Location:
Posted: 31st May 2004 21:51
zone chicken, r u able to rotate ur object or scroll ur texture and having to work? cuz mine isn't...

http://esotericbasic.dbspot.com
Zone Chicken
22
Years of Service
User Offline
Joined: 25th Jan 2004
Location: `~-..-~`~-..-~`
Posted: 31st May 2004 21:57 Edited at: 31st May 2004 22:03
I im just rotating the two spheres seperatly, not scrolling the textures.

make one or two spheres with negative settings
position the spheres where you want
get a variable for the y or x position
rotate the sphere on the postion with the timer

if you use x postion most the time you have static rotate the object before you start the timer one cause the mapping at the bottom of and top is usually messed when just applying a texture to a sphere
EvilKnuckles 666
23
Years of Service
User Offline
Joined: 23rd Jun 2003
Location:
Posted: 31st May 2004 22:05 Edited at: 31st May 2004 22:06
!@#@#!@#!@#%@#!!!! Y isn't it working for me??


that's where i make the sphere
here's the loop


http://esotericbasic.dbspot.com
MikeS
Retired Moderator
23
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 31st May 2004 23:01


You'll need to add a numerical value to the object rotation. Otherwise, it'll remain in place.

A book? I hate book. Book is stupid.
(Formerly known as Yellow)
Zone Chicken
22
Years of Service
User Offline
Joined: 25th Jan 2004
Location: `~-..-~`~-..-~`
Posted: 31st May 2004 23:07 Edited at: 31st May 2004 23:21
I posted two one with one sky sphere and one with two you can have a look at the source code if you want basically the same thing i posted except for the alpha mapping using two spheres.

http://www.geocities.com/zcdbp2004/index.htm

double zipped cause i dont have full version of winzip and geocities doesnt accept .rar
EvilKnuckles 666
23
Years of Service
User Offline
Joined: 23rd Jun 2003
Location:
Posted: 31st May 2004 23:30
i can't believe i forgot that...

ok, well now that that's working... the only way i can see the texture is if i have "draw to back" and the object is close to the camera. When i draw to the screen it covers everyting but most is black, which i have all the black being tranparent w/ set image colorkey.

shouldn't i be able to see the 3d if some of the drawings are transparent?

http://esotericbasic.dbspot.com
EvilKnuckles 666
23
Years of Service
User Offline
Joined: 23rd Jun 2003
Location:
Posted: 31st May 2004 23:31
BTW, zone chicken, the link doesn't work...

http://esotericbasic.dbspot.com

Login to post a reply

Server time is: 2026-07-08 01:08:36
Your offset time is: 2026-07-08 01:08:36