Skip to main content

Transparent Background

4 replies [Last post]
mikofclassx
Offline
Joined: 2003-07-02
Points: 0

Kevin,

this night I was thinking of implementing the feature by myself and sending the sources to you.

Of course I prefer the "real" solution, with Color4f background and AlphaBits into GraphicsConfig.
It should not be _that_ complicated and I can implement the feature today itself. Even more I'm sure this feature does not break any backwards compatibility.

I can also implement the ".properties" version if you want, but I could miss the possibility to have offscreen opaque backgrounds when the property is set.

Let me know.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kcr
Offline
Joined: 2004-03-17
Points: 0

> this night I was thinking of implementing the feature by myself and sending the sources to you.

Please hold off. The glXVisual/glXFBConfig section is undergoing significant change in order to fix Issue 20. It will not be possible to merge anything you send us based on the current sources.

> Of course I prefer the "real" solution, with Color4f background and AlphaBits into
> GraphicsConfig. It should not be _that_ complicated and I can implement the feature
> today itself. Even more I'm sure this feature does not break any backwards compatibility.

Yes, but preserving backward compatibility isn't the only issue. Even backward compatible API changes are not allowed in a dot-dot release and require an approved JSR.

> I can also implement the ".properties" version if you want, but I could miss the
> possibility to have offscreen opaque backgrounds when the property is set.

Using a property is really the only way to get the feature in before 1.4.

-- Kevin

mikofclassx
Offline
Joined: 2003-07-02
Points: 0

Ok, let's go on with it. I'm proceeding with the JCA..
How do we call this new property ?

Well, I would call it "j3d.transparentOffscreen"

kcr
Offline
Joined: 2004-03-17
Points: 0

> How do we call this new property ?
>
> Well, I would call it "j3d.transparentOffscreen"

Sounds good, although I would capitalize the "S" in Screen for consistency. We'll probably have the fix for Issue 20 checked in by early next week. I'm out the rest of this week, so we can talk next week.

-- Kevin

mikofclassx
Offline
Joined: 2003-07-02
Points: 0

So are you suggesting me to wait until the fix arrives ?

I would need to implement the transparency feature and do some major code cleanups in our app before the end of next week because of a technology preview demo of our titling system in our booth at IBTS (we're with Matrox Italy).
well, I'll use my current version, just in case...

Cheers,

Mik
--