Flenix Posted July 1, 2013 Posted July 1, 2013 Does anyone know how I'd go about doing this? I've tried a few things, but apparently I need to do something with OpenGL and I'm really not very good at that... Anyways, here's how my block appears in-game: And here's how it SHOULD appear: Anyone know what I need to add? I tried looking in the code for Ice (which is translucent) but nothing from there worked. Quote http://s13.postimg.org/z9mlly2av/siglogo.png[/img] My mods (Links coming soon) Cities | Roads | Remula | SilvaniaMod | MoreStats
Draco18s Posted July 1, 2013 Posted July 1, 2013 I don't know if models can do transparency. I would imagine they could, if they were rendered in the correct pass... What renderPass does your block class use? Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Flenix Posted July 1, 2013 Author Posted July 1, 2013 On 7/1/2013 at 2:08 PM, Draco18s said: I don't know if models can do transparency. I would imagine they could, if they were rendered in the correct pass... What renderPass does your block class use? I tried using both 0 and 1, didn't make a difference =/ Quote http://s13.postimg.org/z9mlly2av/siglogo.png[/img] My mods (Links coming soon) Cities | Roads | Remula | SilvaniaMod | MoreStats
Draco18s Posted July 1, 2013 Posted July 1, 2013 On 7/1/2013 at 2:19 PM, Flenix said: I tried using both 0 and 1, didn't make a difference =/ I dunno then. There might be a GL11 call you need to make inside the model class. Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
ObsequiousNewt Posted July 1, 2013 Posted July 1, 2013 On 7/1/2013 at 2:34 PM, Draco18s said: Quote I tried using both 0 and 1, didn't make a difference =/ I dunno then. There might be a GL11 call you need to make inside the model class. Erm, glColor4*(r,g,b,alpha)? Quote BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
Flenix Posted July 2, 2013 Author Posted July 2, 2013 On 7/1/2013 at 4:12 PM, ObsequiousNewt said: Quote Quote I tried using both 0 and 1, didn't make a difference =/ I dunno then. There might be a GL11 call you need to make inside the model class. Erm, glColor4*(r,g,b,alpha)? How exactly would I use this? Like I said, I'm a GL Noob completely Looks like that simply sets the colour directly, which is fine- but I need to know where to put it and how to define which part of the model it refers to. Can you help with that? Quote http://s13.postimg.org/z9mlly2av/siglogo.png[/img] My mods (Links coming soon) Cities | Roads | Remula | SilvaniaMod | MoreStats
ObsequiousNewt Posted July 2, 2013 Posted July 2, 2013 On 7/2/2013 at 12:11 AM, Flenix said: Quote Quote Quote I tried using both 0 and 1, didn't make a difference =/ I dunno then. There might be a GL11 call you need to make inside the model class. Erm, glColor4*(r,g,b,alpha)? How exactly would I use this? Like I said, I'm a GL Noob completely Looks like that simply sets the colour directly, which is fine- but I need to know where to put it and how to define which part of the model it refers to. Can you help with that? I dunno. I can use GL, but I haven't tried combining glColor with textures. Try putting it either before or after your "bind texture" statement. Quote BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.