|
Hello Friends
I am using TextureLoader to load the Image then I am setting TextureMode.
Now,I want to change the size of texture.I want to make that texture bigger on my current object.Is there any different function for TextureAttribute to do that?
Please Advice Me.
Any Ideas??
Thanks In Advance.
Regards
Yogesh
TextureLoader textureLoader = new TextureLoader(textureImage, TextureLoader.GENERATE_MIPMAP);
currentAppearance.setTexture(textureLoader.getTexture());
TextureAttributes texAtt = new TextureAttributes();
texAtt.setTextureMode(TextureAttributes.ALLOW_BLEND_COLOR_READ);
currentAppearance.setTextureAttributes(texAtt);
|
|
|
|
|
I got one function of textureAttribute that is SetTextureTransform.
but what should b the value for tt.
As I am having U-scale and V-scale values but dont know how to apply that on this texture.
Any Ideas?
transform3D tt = new Transform3D();
texAtt.setTextureTransform(transform);
|
|
|
|
|
I Found one more function related to scale of textures but still I am not able to change the size.Plze Give some IDeas AnyOne.
I did like this now:
Transform3D transform = new Transform3D();
transform.setScale(2.0);
texAtt.setTextureTransform(transform);
Regards
Yogesh
|
|
|
|
|
I am just learning about the app montoring features available through JConsole. I am using jdk150_06 to monitor an app in development locally on a Windows PC. I set the property (-Dcom.sun.management.jmxremote) on the statup of my app jvm. I run JConsole, the JConsole comes up, sees the JVM, I connect to it and everything seems ok. I want to pull a heap dump of the app to look at in the Memory Analyzer plugin tool available in Eclipse 3.5. According to all the doco I see in JConsole I should see a "com.sun.management" MBean registered in which I can specify a location for the heap dump and generate one. However, I don't see a "com.sun.management" MBean in my JConsole.
Wondering if anyone has done this before? Am I looking for the wrong thing? Is it maybe my JDK version or something?
Any help is appreciated.
Thanks,
Troy
|
|
|
|
|
I need a program in PHP which can extract the hidden biders from ebay.I will have to insert the item number and the program must show me all bidders of the auction and their emails.
Also the same program must extract the registered contact information for any specified bidder specially the email address
If someone can help please contact me at totos_back@yahoo.com
Thanks
|
|
|
|
|
totolcm wrote: I need a program in PHP
And why post this in Java page?
|
|
|
|
|
check the ebay-API [^] - it gives you all a developer desires.
greets
Torsten
I never finish anyth...
|
|
|
|
|
Hello Friends
I am getting some floating values in double.
but color3f class takes only int.
And i want to pass only that floating values.
Is it possible?
Thanks In Advance.
Regards
Yogesh
|
|
|
|
|
You cannot pass a float value to a method that takes an int as it will not handle it correctly. The only way to process this is to convert the value to an integer using whatever roundings necessary for the method to have meaningful values.
MVP 2010 - are they mad?
|
|
|
|
|
yogeshs wrote: color3f class takes only int
Are you sure? According to the javadoc for Color3f:
A three-element color value represented by single precision floating point x,y,z values . . .
Color components should be in the range of [0.0, 1.0]<pre>
|
|
|
|
|
I assumed the OP had actually read the documentation before I posted my answer. One of these days I'll stop making stupid assumptions!
MVP 2010 - are they mad?
|
|
|
|
|
I am developing a java desktop application to retrieve information from a cell phone connected to the pc via bluetooth. i am able to discover all devices but i need help on how to connect to any of the discovered cell phones. thank you
|
|
|
|
|
Take a look at the Java Bluetooth[^] website for information.
MVP 2010 - are they mad?
|
|
|
|
|
Jsp full code and the connection string to connect JSP with Microsoft Sql Server 2005 database
al hajjaj
|
|
|
|
|
Yajjoj wrote: Jsp full code and the connection string to connect JSP with Microsoft Sql Server 2005 database
If this is a request for code, you will not get it. If you have a sensible programming question perhaps you could post it here instead.
|
|
|
|
|
Hello,
I had a requirment on "Calendar control" , The view should always show three months( Last,Prasent and Next month) and there should be an option to the customer to select another month in sequential order. The control should support selection of multiple days or weeks or months. The selected Dates/Weeks/Months are should be heighlighted. Please help me with Java Script code on this regard.
Thanks
Vinay.
|
|
|
|
|
Wrong forum, try ASP.NET or Web Development.
|
|
|
|
|
or do your homework by yourself.
greets
Torsten
I never finish anyth...
|
|
|
|
|
PLEASE I WANT SOURCE CODE OF ROLE BASED ACCESS CONTROL AND ITS EXECUTION STEPS IN JAVA I AM IN NEED OF IT VERY BADLY
I HAVE MANY SOURCE CODES BUT I DONNO HOW TO USE IT AND HOW TO MAKE IT WORK
PLEASE SEND SOME SOURCE CODE WHICH IS EXECUTING
PLEASE I WANT SOURCE CODE OF ROLE BASED ACCESS CONTROL AND EXECUTION STEPS
|
|
|
|
|
Please read this[^], and try rephrasing your question.
|
|
|
|
|
I would like to take a screenshot of a window, more precisely of IE while it is not in the foreground or when the computer is in screensaver/lock mode.
Is it possible?
|
|
|
|
|
xax wrote: I would like to take a screenshot of a window, more precisely of IE while it is not in the foreground or when the computer is in screensaver/lock mode.
Is it possible?
I'm not into Java but I don't think you can do that, because of the way Windows is build (or at least what i understand of it). When a window is not on the screen it does not have a graphical representation (this is not completely true, there's some caching). And you can't expect that an offscreen window refreshes itself, it is refreshed only when it comes on screen again.
Rozis
|
|
|
|
|
Dear all !
I installed MS Word at C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE
I point to WINWORD.EXE and open it.
After that, how can close WINWORD.EXE using my java app.
Thanks
|
|
|
|
|
|
JNI may be useful,because the windows sdk can do that~
|
|
|
|