[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.newcomer] Newbie Help with Sun Java3D Tutorials
|
- From: terencems@xxxxxxxxxxxxxxx (Bheku Terence Msimanga)
- Date: Fri, 21 Oct 2005 11:15:37 +0000 (UTC)
- Newsgroups: eclipse.newcomer
- Organization: not organized
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi all,
If you've managed to get the Sun Java3D tutorials working in Eclipse 3.1
then this is for you. What I've failed to do is to get the running
applications to pick up the images. I tried the same tutorials in a
different IDE and they worked perfectly.
I've organized my tutorials in packages like so:
For the source file:
examples.tutorialName.sourcefile
For the corresponding image:
examples.tutorialName.images.image1
examples.tutorialName.images.image2 etc.
However, whenever I try to run the code I get the following error:
Error loading Image file:../images/[whichever image].jpg
I invoke the program by right clicking in the "Package Explorer" window
and saying "Run as->Java Application".
Am I misunderstanding the way I'm supposed to organize my images folder?
I'm
completely stumped.
This is of particular concern because later tutorials rely on loading .obj
files which are usually in the same folder as the source file, but I would
like to place them in their own folder when I work on my own larger
projects. So if I'm doing this wrong, I would like to know before I start
tackling later tutorials.
Thanks in advance.