ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
how to make the visual tool transparent?
hi, all ,I want to make the cube of the visual tool transparent, but there is no opacity attribute. Of cause we can draw in the ondraw trigger, but I think an opacity attribute is more convenent.
now, I use a BFR's ondraw trigger to do what I want, See the effect in the attachment. |
#2
|
||||
|
||||
transparent / transparency
Sorry Qin Tian,
But this time I really like to ask if you use the search function of the Forum, before you open a new thread? I just searched for “transparent” and found 4 Threads (where one thread is your thread). And in my eyes your questions is answered in these three threads: /threads/thread345&highlight=transparent /threads/thread540&highlight=transparent /threads/thread782&highlight=transparent I did not open your model and had a look into it, as I wrote in this thread /threads/thread783 So I hope I gave you the right direction to solve your problem. If not, you may need to explain better, what the problem is.
__________________
tom the (A)tom: "We have solved our problems ... now we have to fight the solutions." |
The Following 2 Users Say Thank You to Tom David For This Useful Post: | ||
RalfGruber (11-28-2008) |
#4
|
||||
|
||||
Qin,
if you look at the very first link that Tom posted and read the 2nd post you can read: "Flexsim doesn't read the opacity parameter from 3ds or wrl files, but you can set up your files using textures so that they have transparency in Flexsim. This is significantly faster and more flexible although more work from the user." So there isn't a more convenient way, sorry for that. Steven |
#5
|
|||
|
|||
Sorry, maybe I didn't express my thoughts clearly.
what I want is not a transparent 3ds or wrl, but a simple cube, sphere,etc. So, I think a opacity attribute like that in the rack will be convenient. thanks |
#6
|
||||
|
||||
Qin,
the cube of the visual tool internally is drawn by using opengl commands, so if you want opacity the visual tool has to be adapted, so send a mail to flexsim and ask if they want to put it on the development list. if you need it now use the drawcube command. It draws a nice cube and you have the possibility to enter the opacity. Quote:
Steven |
#7
|
|||
|
|||
Hi, Steven, my english is not good.
The rack has an opacity attribute, so I think maybe the visual tool can have this attribute. Now, I use the drawcube command. But I am lazy. I just want to set opacity attribute in the visual tool and select cube or sphere to draw. |
#8
|
||||
|
||||
The fact that you are lazy was already clear to me
Using a visual tool to draw a cube or sphere is not a good idea. The overhead of using a complex and heavy object like the visual tool, instead of a simple draw command, wil make a lot of things slower: drawing, clicking, moving etc.. Again if you wish for an opacity option on the visual tool, direct a request at [email protected] Steven |
The Following User Says Thank You to Steven Hamoen For This Useful Post: | ||
RalfGruber (11-28-2008) |
#9
|
||||
|
||||
Qin,
I think what Tom and Steven have bee trying to get across to you is that you are not using the forum effectively or efficiently for yourself or anybody else that will use it in the future. Where there were already 3 previous posts that covered this topic we really did not need or want a 4th. This only serves to spead usefull information out over a bigger area. In the future it would be more helpful and more appreciated if you had simply asked a specific question as an extention to one of the other three posts. But, only if the post had not answered your question. While I and the others do appreciate your participation in the forum and we do not want to discourage you from using it. It has become apparent that you are using the forum as the first place of reference for the questions that you have. I would not recommend posting questions on the forum on a regular basis without first looking into the software documentation and then searching the forum. The software documentation is a valuable resource that would have been able to answer many of your questions. And as pointed out above the forum would have been able to answer many more of your questions that the documentation couldn't. Again, I would like to thank you for your participation and I do not want to discourage anybody from posting a valuable question on it. However, I would ask that you go to the documentation and then search the forum before posting a new thread. Brandon
__________________
thats not normal. Last edited by Steven Hamoen; 11-28-2008 at 12:27 PM. |
The Following 4 Users Say Thank You to Brandon Peterson For This Useful Post: | ||
Tom David (11-28-2008) |
Thread | Thread Starter | Forum | Replies | Last Post |
Diff Tool? | david_white | Q&A | 0 | 11-12-2008 01:51 PM |
Transparent or Semi-Transparent Texture Please | Gavin Douglas | Q&A | 2 | 06-18-2008 12:43 PM |
Can transparent effect be added in the object? | KelvinHo | Q&A | 3 | 03-18-2008 10:12 PM |
adding a button on the tool bar | Pablo Concha | Q&A | 4 | 09-13-2007 10:46 AM |
Visual tool as a container qs | Paul Dowling | Q&A | 2 | 08-20-2007 07:53 PM |