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 / A couple of questions from a noob 3d-er

Author
Message
soapyfish
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Yorkshire, England
Posted: 3rd May 2004 22:10
Hey all,
I've been programming for a few months now and just today decided I was finally going to try a bit of 3d. I've got as far as

o Having a cude displayed on screen

o Moving the camera forwards and backwards with the mouse buttons.

o Looking with the camera using the mouse

o Making and texturing a plain for a crosshair

Now down to the question....

When drawing 2d sprites the colour black (rgb 0,0,0) shows as transparent when used in my program but when I used black in the texture for my crosshair it can still be seen. Is there a colour that appears as transparent in the 3d world or do I have to use a different method. Thanks for your time.

code2kill

Currently busy with:: Learning 3d movement and a little C++
Dennuz666 v2
21
Years of Service
User Offline
Joined: 21st Jan 2004
Location: Netherlands
Posted: 3rd May 2004 22:33
Try 24-bit PNG-file with transparancy (Alpha channel).

soapyfish
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Yorkshire, England
Posted: 3rd May 2004 22:50
AAAAARRRRRRRRGGGGGGGHHHHHHH more expense, it seems there's only so much I can do with MS Paint, I'd better start saving those pennies. Thanks For the help.

code2kill

Currently busy with:: Learning 3d movement and a little C++
zircher
22
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 3rd May 2004 22:59
There are several free 2D graphics editors out there, the only expense is in your head. Also, if you have MS Office, look for MS Photo Editor. It has support for better JPG settings and can do multiple levels of transparency for PNG files.
--
TAZ

Search for The GIMP, a fairly nice and free editor. (httP://www.gimp.org?

soapyfish
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Yorkshire, England
Posted: 4th May 2004 00:10
ok thanks gimps it is,

Siege
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Norway
Posted: 4th May 2004 16:52 Edited at: 4th May 2004 16:53
or www.gamemaker.nl 2d game making editor!

SiegeDelux@:
soapyfish
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Yorkshire, England
Posted: 12th May 2004 02:24
Hey all,
I hate to do this but I kinda need to ressurect(spelling) this thread. I downloaded GIMP and its pretty good, in fact for someting thats free its frickin ace but I have a teensey little problem. I set the thing to transparent and when I drew with it, it came up with grey and black tiled squares, which I presume shows transparency. So I drew a simple crosshair(well a cross) and saved it as png. When I come to load the png, make the plain and texture it with said png, I come to a problem. It seems to ignore the trnpareny and I just get a cross over the top of a plain. Now I'm sat here thinking about it this kinda shows that the transparency worked (I think) but is there any way to get it so that I can't see the plain at all, at the moment I just get a cross over the top of the grey plain. Thanks for your time. Hope you understood the post.

PREVIOUSLY codemonkey 0gamemad0
ZOMBIES+SHOTGUN= FUN FUN FUN
ESC_
21
Years of Service
User Offline
Joined: 29th Aug 2003
Location: Mass.
Posted: 12th May 2004 02:48
you should be able to use the command:
set object transparency obj#,1

Although I've had problems with the transparency recently

---
soapyfish
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Yorkshire, England
Posted: 13th May 2004 00:27
Thanks for your help, it didn't work but I'm off to do a detailed search of the DBP room to see if I can find anything there, thanks again.

PREVIOUSLY codemonkey 0gamemad0
ZOMBIES+SHOTGUN= FUN FUN FUN
zircher
22
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 13th May 2004 01:15
It didn't work or you didn't do it right? Given how simple it is to use PNGs transparency with objects, I'm skeptical. Perhaps posting some code and/or screen shots might help.
--
TAZ

Login to post a reply

Server time is: 2025-06-28 19:18:36
Your offset time is: 2025-06-28 19:18:36