View Problems with Starfire 3ds Loader
Hi all !!
I am new on developing 3D Applications with Java (only tryed several DirectX Programing with C).
I've studied the SUN Tutorial of 3D Programming (first 3 Chapters) and now started to load a complex 3ds Object. I've tested several loaders and now the Starfire loader looks like working, because there is no exception during the loading process.
But the model isn't shown. I've tryed several 3ds models with differend sizes, but nothing happend i only got the black Applet view. I've tryed both loading Objects types, but i still got the same problem.
I thougt there is a problem with the view distance. Is there a easy way to change the translation like in C? Or is there an other failure I've make? Can someone help?
Thanks in advanced !!
Christian
Christian,
we have made very good experience with the starfire 3ds loader. I think there is no better one at this point of time.
The problem might be one of the one described below, distance, size and lights.
I can offer you to use AniFun3 (http://www.anifun3.de) at your first steps. It is a visual interface to the 3D api and contains the Starfire3DS loader. You can easy change the size, the point of view, lights etc.. on the fly. The graphical user interface is similar to the api. Therefore after successfully importing a file, you can continue either with AniFun3, or manually transfer the values to your source code.
Regards,
Oliver
Similar Messages
-
Problem with module lazy loading in flex 3
Hi every body!
I have some problems with Module lazy loading. I am using flex 3.5, Module-flex3-0.14, parsley 3.2.
I can't get the LazyModuleLoadPolicy working correctly.
In my main application (the one that loads the modules), my parsley context is the following:
<cairngorm:LazyModuleLoadPolicy objectId="lazyLoadPolicy" type="{ OpenViewMessage }" />
<cairngorm:ModuleMessageInterceptor type="{ OpenViewMessage }"/>
<cairngorm:ParsleyModuleDescriptor objectId="test"
url="TestModule.swf"
applicationDomain="{ClassInfo.currentDomain}"
/>
And to load my module:
[Inject(id="test")]
[Bindable] public var test:IModuleManager;
<core:LazyModulePod
id="moduleLoader"
moduleManager="{test}"
moduleId="testModule"
/>
with LazyModulePod.mxml:
<mx:Canvas
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:module="com.adobe.cairngorm.module.*"
xmlns:parsley="http://www.spicefactory.org/parsley">
<mx:Script>
<![CDATA[
import com.adobe.cairngorm.module.ILoadPolicy;
import com.adobe.cairngorm.module.IModuleManager;
[Bindable]
public var moduleId:String;
[Bindable]
public var moduleManager:IModuleManager;
[Bindable]
[Inject(id="lazyLoadPolicy")]
public var lazyLoadPolicy:ILoadPolicy;
]]>
</mx:Script>
<parsley:Configure/>
<module:ViewLoader id="moduleLoader"
moduleId="{ moduleId }"
moduleManager="{ moduleManager }"
loadPolicy="{lazyLoadPolicy}">
<!--<module:loadPolicy>
<module:BasicLoadPolicy/>
</module:loadPolicy>-->
</module:ViewLoader>
</mx:Canvas>
OpenViewMessage.as in a swc:
public class OpenViewMessage
private var _moduleId:String;
private var _viewId:String;
public function OpenViewMessage(moduleId:String, viewId:String)
this._moduleId = moduleId;
this._viewId = viewId;
public function get viewId():String{
return _viewId;
[ModuleId]
public function get moduleId():String
return _moduleId;
In another flex project, my module context is:
<mx:Object
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:controler="com.cegedim.myit.controler.*">
<controler:WindowControler/>
</mx:Object>
The module implements IParsleyModule
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
implements="com.adobe.cairngorm.module.IParsleyModule"
xmlns:spicefactory="http://www.spicefactory.org/parsley">
<mx:Script>
<![CDATA[
import org.spicefactory.parsley.flex.FlexContextBuilder;
import com.adobe.cairngorm.module.IParsleyModule;
public function get contextBuilder():ContextBuilderTag
return contextBuilderTag;
]]>
</mx:Script>
<spicefactory:ContextBuilder id="contextBuilderTag" config="{ MyITTestModuleContext }"/>
<spicefactory:Configure/>
</mx:Module>
and the WindowControler:
public class WindowControler
public function WindowControler(){}
[Init]
public function initialize():void
Alert.show("Module Initialized");
[MessageHandler(scope="local")]
public function openViewMessageHandler(message:OpenViewMessage):void
Alert.show("Opening view " + message.viewId + " in the module " + message.moduleId);
If i uncomment the basicLoadPolicy in LazyModulePod.mxml and remove the lazyModuleLoadPolicy, everything works fine. The module is loaded when it's added to stage and it receives correctly messages dispatched to it. But with the lazy policy the module never loads.
I may have missed something or there is somthing i don't understand because i tried the ModuleTest provided in example in cairngorm sources. It works fine (i mean loading the moduleA2 when receiving a message), but if i replace the change the lazyModulePolicy to listen to broadcasted messages instead of a pingMessage, the module never loads too.
<cairngorm:LazyModuleLoadPolicy objectId="lazyLoadPolicy" type="{ BroadcastMessage }" />
<cairngorm:ModuleMessageInterceptor
type="{ BroadcastMessage }" moduleRef="moduleA" />
public class BroadcastMessage
public function BroadcastMessage()
If someone has any clue, i'll be happy to test it =)
Thanks.Hello, back on my issue, i tested a little bit more the message dispaching.
I read the lazyLoadPolicy class and noticed that it always has to have a ModuleId property in the message to work, that's why the broadcast message didn't work to awake the module with the lazy loading policy.
So i added copy of my module:
<cairngorm:ParsleyModuleDescriptor objectId="test"
url="TestModule.swf"
applicationDomain="{ClassInfo.currentDomain}"
/>
<cairngorm:ParsleyModuleDescriptor objectId="testbis"
url="TestModuleBis.swf"
applicationDomain="{ClassInfo.currentDomain}"
/>
Set them both with a basicLoadPolicy, and tries to dispatch a message to only one of them using the ModuleId metatag. I then noticed that both modules received the message and not only the one i expected.
I then changed the ModuleMessageInterceptor configuration to dispatch to only one kind of module:
<cairngorm:ModuleMessageInterceptor type="{ OpenViewMessage }" moduleRef="test"/>
and this worked as expected. Only the first module catched the message. I am obiously messing with the ModuleId metatag but i cannot see what's wrong...
I compiled with
-keep-as3-metadata+=ModuleId
but this hasn't changed anything... -
Problem with LILO to loading the OS
Hello everyone.
We have a problem with LILO to loading the OS in a CS-MARS 110R, find attached a screenshot.
The only solution is recovery the MARS Operating System.
Thanks in advance.
Regards
AntonioHi Matthew.
The re-image was impossible because this CS-MARS didn´t read the DVD correctly (hardware error) and we asked to Cisco a RMA.
Thanks
Antonio -
Problem with whitespace then loading and saving xml
i do not know how to handle this problem. i modifed a texteditor to send XML to a server and load XML back to the container.
but then i do changes to the Textlayout it shows up like this --->
Text in Container not modifed
Text in Container modifed ---> with space beween the colorchanged string
Text inContainersend and loaded ---> i think this has something to to with the
TextFilter.export(_textFlow,TextFilter.TEXT_LAYOUT_FORMAT,ConversionType.XML_TYPE)
can someone give me a hint...Hi,
the link is --->
http://www.horstmann-architekten.de/contentmanagment/SimpleEditor.html
its a modified example of the texteditor provided by Adobe. You can send a xml to the server. and also read it from the server. You just use the xml identifer to give the xml a name.
Try it out:
1. change the text and
2. give a XML-Identifer
and then send it to the server. --> send to server
3. type in the XML-Identifer you have used and
4. load it from the server ---> Load from Server Button
evering works ok exept the columns formating.
I Think the colums Formating is not embeded in the XML as it should be. I attached the Files. (Newbie programmer)
With best regards
Michael Sprinzl
--- robin.briggs <[email protected]> schrieb am Do, 17.9.2009:
Von: robin.briggs <[email protected]>
Betreff: Problem with whitespace then loading and saving xml
An: "Michael sprinzl" <[email protected]>
Datum: Donnerstag, 17. September 2009, 2:12
Sounds like you have two different issues going on: (1) inline graphics aren't coming out correctly when you use the TextLineFactory, and (2) columns aren't working correctly. It's difficult for me to tell by looking at the application you link what is going wrong. One of the examples does seem to have columns working -- can you be more specific about what you're doing, and what results you are seeing? As for the inline graphics, there is a timing issue involved with using URLs, due to the asynchronous loading. See this comment in the docs for TextFlowTextLineFactory:
Note: When using inline graphics, the source property of the InlineGraphicElement object must either be an instance of a DisplayObject or a Class object representing an embedded asset. URLRequest objects cannot be used. The width and height of the inline graphic at the time the line is created is used to compose the flow.
- robin -
I still am having problems with Aperture not loading, It just refuses to work, and I get the message saying it has encountered a problem, and I may need to re-install which I have done dozens of times. The fix mentioned on an earlier post doesn't work as it is for Ver 10.6.6 and I am running 10.6.7
Do you have Final Cut installed on your machine?
If so, you may want to look at this article: http://support.apple.com/kb/TS3528
Let us know if that helps. -
I'm having problems with my memory load
I'm having problems with my memory load, because I have a few photos on my iPhone 5 (32GB) and has been detected that I am using 10GB of photos, and I only have 1,000 photos. Could someone help me?
Hi Fehmi76,
The article linked below details how to go about seeing what apps on your iPhone are using what amounts of space.
See how much storage you've used on your iPhone, iPad, and iPod touch
https://support.apple.com/en-us/HT201656
Regards,
Allen -
Hi, can someone tell me the clear steps for install "StarfireExt.jar"?
I have copy it to both C:\j2sdk1.4.1\jre\lib\ext and C:\Program Files\Java\j2re1.4.1\lib\ext. Is it something missing?
The other problem is when I run the program by using Loader3DS, the error message is "Not Supported 3DS", when I change to Inspector3DS, the error message is "java.lang.NoClassDefFoundError".
Please help me! Thanks!There is a txt file that comes with it that has instructions on where to place the jar.
import com.mnstarfire.loaders3d.Inspector3DS;
public TransformGroup loadTestObject() {
if(DEBUG) System.out.print("Import 3ds object...");
Inspector3DS loader = new Inspector3DS("lyrax.3ds");
loader.parseIt(); // process the file
loader.setDetail(9);
loader.setLogging(true);
loader.setTextureLightingOn();
//loader.setCreaseAngle(1.0);
TransformGroup theModel = loader.getModel();
theModel.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
if(DEBUG) System.out.println("done.");
return theModel;
}The import obviously at the top and the DEBUG is my own code.
HTH
M -
Problems with Flash movie loading. Please help!
Hi all,
Thanks for the interest in my post...
I created a website for a client in Flash 8 and although the
client and myself can view the site, he has said that some people
have contacted him saying the site won't load.
I've put this down to them not having Flash Player 9
installed on their machine (as they can view other sites I've done
in earlier versions of Flash but not this one) but apparently one
of the people who couldn't see it got the latest version of Flash
and the site still wouldn't load.
The website is at: www.petersnowdon.com and I would be most
grateful if a few of you good people would be able to check it out
to see if you have any viewing problems and if you have any
suggestions as to what might be causing this.
Thank you very much and I hope to hear from you.
All the best,
MarkTell those people to:
same damn problem I was probably having...When using IE and
deleting temporary internet files it disables/corrupts/removes
proper function of the adobe flash player....You can reinstall all
night long and it will claim a "successful" installation but, it is
not....YOU MUST FIRST UNINSTALL ADOBE FLASH PLAYER USING THE ONLY
TOOL THAT WILL DO THIS WHICH IS THE FLASH PLAYER UNINSTALLER FROM
THE ADOBE WEBSITE....BE SURE AND SAVE IT TO YOUR DESKTOP BECAUSE
YOU WILL BE USING IT FOREVER.....Once you have used the uninstaller
program you can then successfully and truthfully download the
latest adobe flash player.......WILL SOMEBODY FROM ADOBE FIX
THIS!........
Adobe
Uninstaller at bottom of page
There seems to be an "object" in the temporary files object
folder that is NECESSARY for proper Adobe Flash
function…..see for yourself...tools-internet
options-General-Settings-then click view objects.....here it is:
{D27CDB6E-AE6D-11CF-96B8-444553540000}
When you clean out your temporary files this goes with it and
your flash will NOT operate...you can try and reinstall it all
night long...your dead...nothing....you must FIRST GO TO THE ADOBE
UNINSTALLER and run that program to uninstall COMPLETELY the
flash....Having done that, you can now install the flash and this
time it will take......
Let me know the results……….. -
Problem with solver DLL load and Excel 2010
Since upgrading from Office 2007 to Office 2010 we've started to experience a problem with the solver addin when our own analytics addins is also loaded. I have found a solution, but I think it may highlight a problem with the latest version of the solver
addin for Excel 2010.
Firstly, to describe the problem - the solver addin seems to load normally when Excel 2010 starts up, however when a "Solve" is performed we are seeing a "File not found: Solver32.dll" error at the final "Keep Solver Solution" stage. This only happens our
own analytics addin is loaded. We've been careful to make sure that our own addin does not change the working directory and also that it has been built against the correct Excel 2010 SDK libraries. We do not see this error with any other versions of Excel
running on the same PC or any other environment.
After some searching we found other people were having similar problems and after a bit more probing I found a solution that works - but that I'm not very happy with.
If I copy the Solver32.dll from:
C:\Program Files (x86)\Microsoft Office\Office14\Library\SOLVER
(where it was installed)
into :
C:\Windows\SysWOW64
(where Windows 7 keeps its 32 bit system DLLs)
then the problem goes away.
This seems to indicate that somehow Office 2010 has a problem that causes it to search in the wrong folder for the Solver32.dll when another addin is loaded in between the original Solver32.XLAM at start up and the use of the Solver in the sheet (which eventually
requires this DLL to be loaded). Oddly, this only happens after a solution is found and "Keep Solver Solution" is selected - and I'm not sure why it's not looking for Solver32.dll any earlier.
This is not a problem with any earlier versions of Excel and I suspect is a bug in the Office14/LIBRARY/SOLVER implementation. Is there any way to get this followed up?
Thanks,
AndyI'm facing the same issue. With an Excel VSTO add-in we're building. When the add-in is enabled the assembly solver32.dll can't be found. With our add-in disabled the DLL is resolved as (Sysinternals Process Monitor trace):
EXCEL.EXE CreateFile
C:\Program Files (x86)\Microsoft Office\Office14\Solver32.dll
EXCEL.EXE CreateFile
C:\Windows\SysWOW64\Solver32.dll
EXCEL.EXE CreateFile
C:\Windows\system\Solver32.dll
EXCEL.EXE CreateFile
C:\Windows\Solver32.dll
EXCEL.EXE CreateFile
C:\Program Files (x86)\Microsoft Office\Office14\Library\SOLVER\SOLVER32.DLL
and with our add-in enabled the following locations are tried, but solver32.dll won't be found:
excel.exe CreateFile
C:\Program Files (x86)\Microsoft Office\Office14\Solver32.dll
excel.exe CreateFile
C:\ArcGIS\______path to our add-in install location_____________\Solver32.dll
excel.exe CreateFile
C:\Windows\SysWOW64\Solver32.dll
excel.exe CreateFile
C:\Windows\system\Solver32.dll
excel.exe CreateFile
C:\Windows\Solver32.dll
excel.exe CreateFile
C:\Program Files\Common Files\Microsoft Shared\Windows Live\Solver32.dll
excel.exe CreateFile
C:\Program Files (x86)\Common Files\microsoft shared\Windows Live\Solver32.dll
excel.exe CreateFile
C:\Windows\SysWOW64\Solver32.dll
excel.exe CreateFile
C:\Windows\Solver32.dll
excel.exe CreateFile
C:\Windows\SysWOW64\wbem\Solver32.dll
etc... -
hi.
Im having problems with a download of photoshop cs4 that I purchased online. It downloaded fine and I followed the instructions to the letter. however when I try to open the application I get a message that reads " application will not open because it is not supported on this achitecture." I checked the down load and it is for MAC and I have the correct system requirements!
Please HelpSounds like you need to call Adobe support and ask them what's going on. After all, you just paid them a bunch of money and haven't gotten what you paid for yet!
-
Problem with flat file loading/Special characters
Hi, All,
We just migrated from Version 3.0B to BI7.0, and I've a problem which I can't handle for the moment. We are in Unicode, current codepage of the server is 4103 and codepage of frontend is 4110 (from SNL1 Transaction).
I'm loading czech texts in my material, via CSV files. The CSV file is correct on my PC, I see the special characters.
The problem is on my loading, whatever Character set I choose in the Infopackage (I choose Standard or Character Set Setting User-dependant), I cannot see the good characters.
Does any one of you already encounter this kind of problem, and, if yes, how did you solve it ?
Thankshi,
check out with your flat file letter's type, if it's in lower case letter's change them in
upper case letter's. or otherwise change the infobject's type as-- select check box
corresponding to lower case letter's in infoobject.
if helpful provide points
regards
harikrishna.N -
Hi,
When viewing a video in combination with data channels (we have 3 EEG channels, tdm data, that we watch in parallel), diadem crashed rapidly when playing the video and data together in Diadem 10.1 and 10.2. We do not have any problems with Diadem 10.0. so we keep on using the older version to avoid any troubles. This just to notify, since other people may have the same trouble.
Cheers
ElseHi Else,
We'd really like to reproduce this problem and get to the bottom of what is causing it, so that you could upgrade in the future. Would you be willing to send me a data set consisting of your TDM, TDX, TDV, and video file? You can either post here or send it directly to my email at:
[email protected]
Thanks,
Brad Turpin
DIAdem Product Support Engineer
National Instruments -
Problems with illustrator CS3. loading drawings, swatches everything takes minutes
Since a couple of days the problems started at my office. All pc's started to have problems with illustrator and photoshop. But most of all illustrator. On start-up it is quick as it used to be but when i want to load a drawing, swatch or symbol it takes minutes. I don't know if it has to do with an update or something else. I only know that it started a few days ago on all pc's but not on the mac's.
Thanks in advance,
BasWhat exactly is a few days ago? The last Windows Update was on last Tuesday. Except for a .NET fix and various Office patches it did not seem to have anything critical, but it may be possible that it affects your computers. It's a far cry, though. More likely it's a virus scanner or something with your network settings, that causes erratic file opening behavior. Hard to tell without more info. your description is too generic and vague.
Mylenium -
So you might call me an idiot. Go ahead... I deserve it.
I was in the process of updating my netbook over SSH because I left it back home when I went to school. I ended up running into problems with glibc etc... So I did something that I seriously regret...
I executed the command...
mv /lib/* /usr/lib*
This has to be the most retarded thing I have ever done ever... Like I'm not even shitting you.
To make things worse... I don't have busybox and have no method of getting busybox onto the computer.
Now I have seen about using the dynamic loader "ld-linux.so.2" to execute programs using a user defined library path. So I thought perfect, I can do this. The problem is... I can't find it. I looked on two healthy Arch machines at the locations and names. I used that to try this. I am sure at least I have a recent version of glibc installed (<current version>-1 I believe). But I still cannot find this at all. I am logged in as root over SSH but it fails to log in again on another session. So I have one session to work with it I can work it at all.
Do you have any suggestions to fix this? If not, I can always have someone tomorrow dd a copy of an arch iso tomorrow and possibly fix everything... But I would really like this fixed without all of that... Thanks...See these two threads.
-
Problem with Youtube videos loading...
I have had problems with Youtube since I have gotten my new Mac in November. (My old Mac would play them fine.) The videos will start loading and then stop. If I want to continue trying to watch a video I have to move the button around on the bottom to the right, and then back to the left. This does not always work though. The thing is, though, that it works at my school's campus. Just not at my house. However, I can watch Youtube videos on my mom's Sony Vaio. What can I do?
Message was edited by: mvikingsHI and Welcome to Apple Discussions...
YouTube streams some video content using the Flash Player plugin. Try uninstalling then reinstalling a new copy of the plugin.
Uninstall Flash
Install Flash
Then Disk Permissions
Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and *restart your Mac.*
Carolyn
Maybe you are looking for
-
How to get the version no. for service po?
Hi, How to get the version no. for service po?For material po we are getting the version from EKKO-REVNO but for service po Ekko-revno is blank. Regards, Rachel.
-
The url does not display the https for secure sites. How can I make this happen?
-
Which table/view stores the Driver values for each project
Hi, I want to report on projects and drivers and the rating (Extreme, Moderate, low etc.) that have been assigned to each project. I cannot seem to local the correct table/view. I found the driver table and analysis tables but not one that has a pr
-
How to show a report in web browse
Hi all, I have design a BI report in BI7.0 Query Designer,But I can't preview it in browse .When I log on BI7.0 System, navigate to the folder-favorite, click the report I have saved, it doesn't show ,but poped up the message: Windows can't find the
-
I have been working on a project for several weeks, but on booting up this morning i find the named project missing although all the other projects and event clips were there. I looked in the trash, I looked back over several days in Time Machine wh