Jump to content

Gradient rendering bug


Petri

Recommended Posts

With my somewhat unusual gradients there is a strange rendering bug. They are supposed to be single colour (thanks to Matt Panzer!), but occasionally get an odd colour band in one end. Like this:

PjB36688.png

The gradients in question are created with Vectorscript like this:

gradient := CREATEGRADIENT('TVT 506X');  SETGRADIENTDATA(gradient, segmentIndex, 1, 0.5, 246, 227, 195);

Resetting the gradient like this does not help:

PROCEDURE ResetGradient;

VAR
obHd : HANDLE; 

BEGIN 
obHd := FSACTLAYER;
SETFPAT(obHd, GETFPAT(obHd));
END;

RUN(ResetGradient);

Bugsubmitted, but if someone has any ideas, I'd really welcome them.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...