3DMars update

Post requests, images, descriptions and reports about work in progress here.
Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #141by selden » 21.12.2007, 18:27

It's missing the diffuse texture file declaration.
If there's no texture file specified, the SSC Texture declaration can't replace it. In other words, add a texture0 declaration.

Code: Select all

texture0 "mars_texture.*"

would work, or specify some other appropriate filename.
Selden

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #142by cartrite » 21.12.2007, 18:50

selden wrote:It's missing the diffuse texture file declaration.
If there's no texture file specified, the SSC Texture declaration can't replace it. In other words, add a texture0 declaration.

Code: Select all

texture0 "mars_texture.*"

would work, or specify some other appropriate filename.

So that would fix it? Problem is the model is at the motherlode and I can't just fix it. And I just filled out a bug report and asked Bob not to delete it because it may have been needed to track this down, At the time I created the model, I think I had to do it that way I did to get it to work with any mars texture. I can't remember :? I'm getting a case of beer. Should be BRAIN DEAD in couple of hours. Signing off for now.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #143by cartrite » 21.12.2007, 19:12

Selden,
I just tried your suggestion and it did not work. At least I didn't submit a bug report for nothing. Maybe I'll hold off on the beers.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #144by selden » 21.12.2007, 19:45

Well, that's a bummer. Hopefully Chris will be able to reproduce the problem and fix it.
Selden

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Post #145by BobHegwood » 21.12.2007, 20:21

cartrite wrote:Selden,
I just tried your suggestion and it did not work. At least I didn't submit a bug report for nothing. Maybe I'll hold off on the beers.
cartrite


Have LOTS of beer...

That's what I'm going to do now... :lol:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #146by cartrite » 21.12.2007, 20:36

selden wrote:Well, that's a bummer. Hopefully Chris will be able to reproduce the problem and fix it.

Johaen was the one who brought it to my attention. I reproduced it easily after I downloaded Don Edwards texture from the ML. But as my experiment showed with celestia's earth.png which has a real texture in the alpha channel, any RGBA texture should do for reproducing this. I wonder if this happens to spacecraft models or other models too.

Anyhow, I just found out what will make it work. The "Modify" can not be used in the ssc file. If I use "Mars2" "Sol/Mars" and give a custom orbit, Dons RGBA Mars texture renders properly. I think I already knew that from long ago but had forgotten. Now is this still a bug?
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #147by selden » 21.12.2007, 23:48

It still sounds like a bug, just perhaps not directly related to the texture or model. Be sure to keep the bug report up to date with your findings.
Selden

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #148by chris » 22.12.2007, 00:08

Cartrite, I'll be taking a look at your bug report very soon. I'm a bit confused about the new developments here, so if you could post a synopsis on the bug report, it'll speed up the hunt for the problem.

--Chris

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #149by cartrite » 22.12.2007, 02:13

Chris,
Ive already added 2 comments to the initial report. The last includes what I found about the Modify statement. I hope that is what you meant by synopsis. I think I describe the problem pretty well and how to reproduce it.

I seem to have been here before though and I thought that the Modify statement wasn't complete as far as adding the ssc file capabilities to deal with meshes. I couldn't find the posts though. Its probably buried in the thread I started when I created the Katrina model. I know I can remember bringing this up a while ago.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #150by chris » 02.01.2008, 23:18

cartrite wrote:Chris,
Ive already added 2 comments to the initial report. The last includes what I found about the Modify statement. I hope that is what you meant by synopsis. I think I describe the problem pretty well and how to reproduce it.


The bug should now be fixed by a checkin that I just made.

--Chris

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #151by cartrite » 02.01.2008, 23:34

Chris,
Thanks for correcting this and I'll check it out as soon as possible. I already tried but I couldn't build it because of an error in universe.cpp. Something Vincent is working on. Here is the error.

Code: Select all

selectionpopup.cpp: In member function ?€?void SelectionPopup::process(int)?€™:
selectionpopup.cpp:221: error: no matching function for call to ?€?Universe::markObject(Selection&, float, Color, Marker::Symbol, int)?€™
../../celengine/universe.h:106: note: candidates are: void Universe::markObject(const Selection&, float, Color, Marker::Symbol, int, std::string)
make[5]: *** [selectionpopup.o] Error 1
make[5]: Leaving directory `/home/cartrite/share/celestia/build/celestia/src/celestia/kde'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/cartrite/share/celestia/build/celestia/src/celestia/kde'
make[3]: *** [all-recursive] Error 1

cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #152by chris » 02.01.2008, 23:47

cartrite wrote:Chris,
Thanks for correcting this and I'll check it out as soon as possible. I already tried but I couldn't build it because of an error in universe.cpp. Something Vincent is working on. Here is the error.

Code: Select all

selectionpopup.cpp: In member function ?€?void SelectionPopup::process(int)?€™:
selectionpopup.cpp:221: error: no matching function for call to ?€?Universe::markObject(Selection&, float, Color, Marker::Symbol, int)?€™
../../celengine/universe.h:106: note: candidates are: void Universe::markObject(const Selection&, float, Color, Marker::Symbol, int, std::string)
make[5]: *** [selectionpopup.o] Error 1
make[5]: Leaving directory `/home/cartrite/share/celestia/build/celestia/src/celestia/kde'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/cartrite/share/celestia/build/celestia/src/celestia/kde'
make[3]: *** [all-recursive] Error 1

cartrite


Vincent added support for marker labels today--he works on the Windows version and it looks like some KDE files didn't get the required updates. Try adding an empty string "" as the final argument of the markObject call; if that works, I'll check in the file.

--Chris

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #153by Vincent » 03.01.2008, 00:06

Chris is right. Sorry, I forgot to mind the KDE version. I just checked in the needed change. You should be able to get it in a few minutes...

Edit: I made the change in the GTK version too.
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #154by cartrite » 03.01.2008, 11:25

Chris, Vincent,
Sorry about the delay. I was unable to reach Shatters.net last night. Everything works fine now. I can see RGBA textures on a mesh with the new atmosphere settings. The new code in cvs builds without errors. Thanks guys.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4


Return to “Add-on development”