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.

Newcomers DBPro Corner / Wireframe Game! Wooh! Crud! Need help!

Author
Message
Yart
20
Years of Service
User Offline
Joined: 23rd Jun 2004
Location: Turkey Sandwich
Posted: 25th Jun 2004 00:28
I'm rather new to DarkBASIC and have been programming in it for like what? A day now? Anyway my first real project is a Wireframe Horizontal Space Shooter but I just can't seem to make an object wireframe. (Or atleast make the object show... you pick) How can I make an wireframed object? Even learning to do a simple cube would be great, or even better if I can get a whole .bsp wireframed.

If ya can help me, thanks!

(Oh btw, what I mean by Wireframe is a 3D game, and I'm using DarkBASIC Pro)

My avatar sucks!
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 25th Jun 2004 03:26
Well, to make a solid, try make object cube
EXAMPLE:

Don't know how to wireframe it though

Got anime?
I do.
Yart
20
Years of Service
User Offline
Joined: 23rd Jun 2004
Location: Turkey Sandwich
Posted: 25th Jun 2004 03:34
Well I appreciate you trying to help but that's not exactly what I need... although making a cube helps too :/

Thanks anyway!

My avatar sucks!
robo cat
20
Years of Service
User Offline
Joined: 23rd Feb 2004
Location: In a cat litter tray, near you...
Posted: 5th Jul 2004 04:46
I think I know what you're trying to do Yart.

Here is the command I think you want:

Where n = the number of the object you want to make wireframe. The 1 is a flag telling it to make the object wireframe.

So if you were to use this for a cube you would use the code below


I know that the command will work in DBpro but not sure if it exists for DBclassic.

Hope it's helpful
Yart
20
Years of Service
User Offline
Joined: 23rd Jun 2004
Location: Turkey Sandwich
Posted: 12th Aug 2004 16:30
Wow been like what? A month since I returned here? I'm sorry for bumping but I just had to reply for another question to do with wireframe.

Let's say I want this NICE Red wireframe cube, I have it! Oh no! It's dark on some lines! There! Got rid of the light... but to that even my colour has been gotten rid of!!!! (Pardon my bad english... but I promise you that it's getting gooder everyday)

How do I make it have no light and yet still have colour besides being white? I want bright lines.

Pie!
Physics coder
20
Years of Service
User Offline
Joined: 25th May 2004
Location: United States
Posted: 12th Aug 2004 17:40 Edited at: 12th Aug 2004 17:41
Hey,
Try this for a red wireframe cube:


A thicker wire frame makes it look brighter:


-----------------------------------
To delete the bug, delete the code.
Specs: Sony VAIO Laptop, Windows XP, P4 2.8Ghz, 512MB RAM, ATI Radeon 64MB video memory, DBP Upgrade 5.3.
Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 12th Aug 2004 21:15 Edited at: 12th Aug 2004 21:16
Hey not trying to be a know it all or anything but lighting worked on mine. Maybe you should try this:
Yart
20
Years of Service
User Offline
Joined: 23rd Jun 2004
Location: Turkey Sandwich
Posted: 13th Aug 2004 10:13
Cool! Thanks guys!

Pie!

Login to post a reply

Server time is: 2024-09-22 20:32:45
Your offset time is: 2024-09-22 20:32:45