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.

Author
Message
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 31st Jan 2019 03:22 Edited at: 31st Jan 2019 03:24
Trying to texture a lazer glow but i'm getting hard edges on the fade.
What am i doing wrong here?
This is the texture


This is the result


The project is attached. Thanks for any help in advance

Attachments

Login to view attachments
Ortu
DBPro Master
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 31st Jan 2019 03:57
Looks like it is only using 1 bit alpha when rendering
http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 31st Jan 2019 04:01
How would i fix that?
Golelorn
7
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 31st Jan 2019 04:08 Edited at: 31st Jan 2019 04:15
SetObjectTransparency(lobj, 1)

AlphaMask discards anything that is less than .5 alpha, and does not blend alpha with the color. Whereas, transparency only blends.
Ortu
DBPro Master
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 31st Jan 2019 04:09
There might be an alpha mode setting in the object or texture commands, or if you are using a shader it would be handled in there
http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 31st Jan 2019 04:17
Thanks,

SetObjectTransparency() did the trick

I always get SetObjectAlphaMask() and SetObjectTransparency() mixed up
Rick Nasher
6
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 1st Feb 2019 17:14 Edited at: 1st Feb 2019 17:55
From what angle are you shooting. Perhaps otherwise a capsule would also work?



Or:


blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 1st Feb 2019 20:51
That looks interesting Rick. The object could be viewed from any angle. Think star wars space shooter
Ortu
DBPro Master
16
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 1st Feb 2019 22:59
There was some dbpro examples of axis independent billboards that would be worth looking in to for this type of effect
http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 1st Feb 2019 23:16 Edited at: 1st Feb 2019 23:16
The planes worked out ok. I had to add a cap on each end in case you were looking directly down the axis (Which you do when you shoot)

Attachments

Login to view attachments
puzzler2018
User Banned
Posted: 1st Feb 2019 23:23 Edited at: 1st Feb 2019 23:23
is this Elite re invented
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 1st Feb 2019 23:28
It's an experiment using AR as a game controller. It's working out quite well.
So you hold your device in front of you and literally turn around or move the device up/down to aim.
Knocked over a chair or two playing it though.
puzzler2018
User Banned
Posted: 1st Feb 2019 23:31 Edited at: 1st Feb 2019 23:34
lots of augements then lol

Keep up good works


as long as your knocking down chairs in a restaurent otherwise will have to call someone... in a west end town, no dont shop around, its the west end town
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 2nd Feb 2019 00:39 Edited at: 2nd Feb 2019 00:42
Sounds like fun
Quote: "Knocked over a chair or two playing it though. "

Adds to the fun factor lol

now just need spaceships flying around your room that you had to use ar to shoot at them
fubar
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 2nd Feb 2019 00:57
Quote: "now just need spaceships flying around your room that you had to use ar to shoot at them"

Yes! That's exactly it!
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 2nd Feb 2019 01:02
Cool im kinda of the concept tiny Aliens/gremlins are invading your house and you need this app to kill them
fubar
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 2nd Feb 2019 01:11 Edited at: 2nd Feb 2019 01:11
One of the fighters (Bit Star Wars-y)

Attachments

Login to view attachments
Rick Nasher
6
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 2nd Feb 2019 12:34 Edited at: 2nd Feb 2019 12:41
@blink0K: Interesting project(omg another one, you have time/energy to spare? )

@puzzler2018: "in a west end town, no dont shop around, its the west end town" - unrelated, but it reminded me of the song "West End Girls" which is now stuck in my head - can't get it out, makes my poor taste in music much too apparent , for which we thank you.. lol
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 6th Feb 2019 16:17
Thanks a lot Rick, now I have that song stuck in my head too. Btw, that is not a poor taste song!
Tiled TMX Importer V.2
XML Parser V.2
Base64 Encoder/Decoder
Purple Token - Free online hi-score database
Legend of Zelda

"I like offending people, because I think people who get offended should be offended." - Linus Torvalds
Rick Nasher
6
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 6th Feb 2019 18:53 Edited at: 6th Feb 2019 18:56
lol

"Let's take a ride.. " all together with a large pint in a crowded pub!
(with the dogs tonight- not the Bieber thing )

Login to post a reply

Server time is: 2024-04-25 03:17:22
Your offset time is: 2024-04-25 03:17:22