emrum
Member-
Posts
18 -
Joined
-
Last visited
emrum's Achievements
Newbie (1/11)
2
Reputation
-
3DCoat 2024 development thread
emrum replied to Andrew Shpagin's topic in New Releases, Bugs Reports & Development Discussion
3dcoat used to work on manjaro linux (arch based) - but now all versions crash. it works only with special distrobox container. maybe try to debug 3dcoat on a modern distribution (manjaro) too. (ubuntu LTS is 2 years old) (or switch to gtk 3 for file dialog ? ) -
hello i get a seg fault, when trying to open a file (when i click file/open in the menu, it crashes ... ) maybe a library is incompetible ? on my system there is librsvg 2.57.1 and libxml 2.12.3 and gtk2 2.24.33 or gtk error LoadFileDialog , /usr/src/debug/gtk2/gtk/gtk/gtkfilechooserdialog.c:278 ? ? this may be a bug by recent version of gtk2 !? Thread 1 "3dcoat-Ubuntu22" received signal SIGSEGV, Segmentation fault. 0x0000555557e0d363 in xmlDictFree (dict=0x555561cf40e0) at dict.c:828 Downloading source file /home/sergii/Downloads/libxml2-2.9.7/dict.c 828 dict.c: Das Verzeichnis ist nicht leer. (gdb) (gdb) (gdb) bt #0 0x0000555557e0d363 in xmlDictFree (dict=0x555561cf40e0) at dict.c:828 #1 0x0000555557d7fc2f in xmlFreeParserCtxt (ctxt=0x555560260d40) at parserInternals.c:1793 #2 0x00007fffdb166590 in rsvg::xml::xml2_load::free_xml_parser_and_doc (parser=0x555560260d40) at rsvg/src/xml/xml2_load.rs:113 #3 rsvg::xml::xml2_load::{impl#1}::drop (self=0x555561d01a70) at rsvg/src/xml/xml2_load.rs:486 #4 core::ptr::drop_in_place<rsvg::xml::xml2_load::Xml2Parser> () at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/ptr/mod.rs:497 #5 0x00007fffdb22ebe9 in core::ptr::drop_in_place<alloc::boxed::Box<rsvg::xml::xml2_load::Xml2Parser, alloc::alloc::Global>> () at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/ptr/mod.rs:497 #6 rsvg::xml::{impl#1}::parse_from_stream::{closure#0} (parser=<optimized out>) at rsvg/src/xml/mod.rs:629 #7 core::result::Result<alloc::boxed::Box<rsvg::xml::xml2_load::Xml2Parser, alloc::alloc::Global>, rsvg::error::LoadingError>::and_then<alloc::boxed::Box<rsvg::xml::xml2_load::Xml2Parser, alloc::alloc::Global>, rsvg::error::LoadingError, (), rsvg::xml::{impl#1}::parse_from_stream::{closure_env#0}> (self=<error reading variable: Cannot access memory at address 0x0>) at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/result.rs:1320 #8 rsvg::xml::XmlState::parse_from_stream (self=0x7ffffffebc40, stream=<optimized out>, cancellable=...) at rsvg/src/xml/mod.rs:629 #9 0x00007fffdb1953f6 in rsvg::xml::XmlState::build_document (self=..., stream=0x7ffffffeba18, cancellable=...) at rsvg/src/xml/mod.rs:642 #10 rsvg::xml::xml_load_from_possibly_compressed_stream (session=..., document_builder=..., load_options=..., stream=<optimized out>, cancellable=...) at rsvg/src/xml/mod.rs:738 #11 rsvg::document::Document::load_from_stream (session=..., load_options=..., stream=<optimized out>, cancellable=...) at rsvg/src/document.rs:109 #12 0x00007fffdb1df52c in rsvg::handle::Handle::from_stream (session=..., load_options=..., stream=0x8, cancellable=...) at rsvg/src/handle.rs:100 #13 0x00007fffdb14b822 in rsvg::api::Loader::read_stream<gio::auto::input_stream::InputStream, gio::auto::file::File, gio::auto::cancellable::Cancellable> (self=..., stream=0x7ffffffec2c0, base_file=..., cancellable=...) at rsvg/src/api.rs:288 #14 librsvg_c::handle::CHandle::read_stream (self=<optimized out>, load_state=..., stream=0x7ffffffec2c0, base_file=..., cancellable=...) at librsvg-c/src/handle.rs:701 #15 0x00007fffdb14e45d in librsvg_c::handle::CHandle::close (self=<optimized out>) at librsvg-c/src/handle.rs:657 #16 librsvg_c::handle::rsvg_handle_close (handle=<optimized out>, error=error@entry=0x7ffffffec380) at librsvg-c/src/handle.rs:1245 #17 0x00007ffff2018327 in gdk_pixbuf__svg_image_stop_load (data=0x5555616c5b10, error=0x7ffffffec380) at /usr/src/debug/librsvg/librsvg/gdk-pixbuf-loader/io-svg.c:157 #18 0x00007ffff7eb637b in gdk_pixbuf_loader_close (loader=loader@entry=0x5555605c5b00, error=error@entry=0x555561cf2538) at ../gdk-pixbuf/gdk-pixbuf/gdk-pixbuf-loader.c:859 #19 0x00007ffff7eb6e14 in load_from_stream (loader=loader@entry=0x5555605c5b00, stream=stream@entry=0x555561bca790, cancellable=cancellable@entry=0x0, error=error@entry=0x555561cf2538) at ../gdk-pixbuf/gdk-pixbuf/gdk-pixbuf-io.c:1532 #20 0x00007ffff7eb6ec3 in gdk_pixbuf_new_from_stream_at_scale (stream=stream@entry=0x555561bca790, width=16, height=16, preserve_aspect_ratio=preserve_aspect_ratio@entry--Type <RET> for more, q to quit, c to continue without paging-- =1, cancellable=cancellable@entry=0x0, error=error@entry=0x555561cf2538) at ../gdk-pixbuf/gdk-pixbuf/gdk-pixbuf-io.c:1598 #21 0x00007ffff760666c in icon_info_ensure_scale_and_pixbuf (icon_info=icon_info@entry=0x555561cf24f0, scale_only=scale_only@entry=0) at /usr/src/debug/gtk2/gtk/gtk/gtkicontheme.c:2951 #22 0x00007ffff760aa42 in IA__gtk_icon_info_load_icon (icon_info=0x555561cf24f0, error=0x7fffffffc528) at /usr/src/debug/gtk2/gtk/gtk/gtkicontheme.c:3093 #23 0x00007ffff760abb2 in IA__gtk_icon_theme_load_icon (icon_theme=<optimized out>, icon_name=0x7ffff780faf5 "edit-find", size=16, flags=0, error=0x7fffffffc528) at /usr/src/debug/gtk2/gtk/gtk/gtkicontheme.c:1559 #24 0x00007ffff7604415 in render_icon_name_pixbuf (detail=0x0, widget=0x555560264980, size=GTK_ICON_SIZE_MENU, state=GTK_STATE_NORMAL, direction=GTK_TEXT_DIR_LTR, style=0x5555592b6aa0, icon_source=0x55556013e260) at /usr/src/debug/gtk2/gtk/gtk/gtkiconfactory.c:1471 #25 find_and_render_icon_source (detail=<optimized out>, widget=<optimized out>, size=<optimized out>, state=<optimized out>, direction=<optimized out>, style=<optimized out>, icon_set=<optimized out>) at /usr/src/debug/gtk2/gtk/gtk/gtkiconfactory.c:1549 #26 IA__gtk_icon_set_render_icon (icon_set=0x55556013e230, style=0x5555592b6aa0, direction=GTK_TEXT_DIR_LTR, state=GTK_STATE_NORMAL, size=GTK_ICON_SIZE_MENU, widget=0x555560264980, detail=0x0) at /usr/src/debug/gtk2/gtk/gtk/gtkiconfactory.c:1657 #27 0x00007ffff7770621 in IA__gtk_widget_render_icon (widget=0x555560264980, stock_id=<optimized out>, size=GTK_ICON_SIZE_MENU, detail=0x0) at /usr/src/debug/gtk2/gtk/gtk/gtkwidget.c:7441 --Type <RET> for more, q to quit, c to continue without paging-- #28 0x00007ffff75e6d0c in render_search_icon (impl=0x555560264980) at /usr/src/debug/gtk2/gtk/gtk/gtkfilechooserdefault.c:1147 #29 shortcuts_append_search (impl=0x555560264980) at /usr/src/debug/gtk2/gtk/gtk/gtkfilechooserdefault.c:1722 #30 shortcuts_model_create (impl=0x555560264980) at /usr/src/debug/gtk2/gtk/gtk/gtkfilechooserdefault.c:2212 #31 gtk_file_chooser_default_constructor (type=<optimized out>, n_construct_properties=<optimized out>, construct_params=<optimized out>) at /usr/src/debug/gtk2/gtk/gtk/gtkfilechooserdefault.c:4968 #32 0x00007ffff739880c in () at /usr/lib/libgobject-2.0.so.0 #33 0x00007ffff739a334 in g_object_new_with_properties () at /usr/lib/libgobject-2.0.so.0 #34 0x00007ffff739b2ca in g_object_new () at /usr/lib/libgobject-2.0.so.0 #35 0x00007ffff75ec735 in _gtk_file_chooser_default_new () at /usr/src/debug/gtk2/gtk/gtk/gtkfilechooserdefault.c:10126 #36 gtk_file_chooser_widget_constructor (type=<optimized out>, n_construct_properties=<optimized out>, construct_params=<optimized out>) at /usr/src/debug/gtk2/gtk/gtk/gtkfilechooserwidget.c:103 #37 0x00007ffff739880c in () at /usr/lib/libgobject-2.0.so.0 #38 0x00007ffff739a334 in g_object_new_with_properties () at /usr/lib/libgobject-2.0.so.0 #39 0x00007ffff739b2ca in g_object_new () at /usr/lib/libgobject-2.0.so.0 #40 0x00007ffff75ed3a2 in gtk_file_chooser_dialog_constructor (type=<optimized out>, n_construct_properties=<optimized out>, construct_params=<optimized out>) at /usr/src/debug/gtk2/gtk/gtk/gtkfilechooserdialog.c:278 #41 0x00007ffff739880c in () at /usr/lib/libgobject-2.0.so.0 #42 0x00007ffff739aaf1 in g_object_new_valist () at /usr/lib/libgobject-2.0.so.0 --Type <RET> for more, q to quit, c to continue without paging-- #43 0x00007ffff739b29e in g_object_new () at /usr/lib/libgobject-2.0.so.0 #44 0x00007ffff75ebf5f in gtk_file_chooser_dialog_new_valist (backend=0x0, varargs=0x7fffffffd140, first_button_text=0x555558138a64 "gtk-cancel", action=GTK_FILE_CHOOSER_ACTION_OPEN, parent=0x5555593b0170, title=0x555558322c52 "") at /usr/src/debug/gtk2/gtk/gtk/gtkfilechooserdialog.c:398 #45 IA__gtk_file_chooser_dialog_new (title=0x555558322c52 "", parent=0x5555593b0170, action=GTK_FILE_CHOOSER_ACTION_OPEN, first_button_text=0x555558138a64 "gtk-cancel") at /usr/src/debug/gtk2/gtk/gtk/gtkfilechooserdialog.c:442 #46 0x0000555555cd47f2 in comms::cLinuxMain_LoadFileDialog(char const*, comms::cList<comms::cStr, comms::cList_Container<comms::cStr> > const&, comms::cStr*, comms::cList<comms::cStr, comms::cList_Container<comms::cStr> >*, char const*, char const*) () #47 0x000055555633f4d9 in LoadFileDialog(char const*, StringsList const&, comms::cStr*, char const*, char const*) () #48 0x000055555633f45c in OpenFileDialog::Show() () #49 0x0000555556fed87c in PenInterface::ShowFileDialog(BasicFileDialog&, char (&) [512], bool) () #50 0x0000555556ff8468 in PenInterface::OpenMesh() () #51 0x0000555555e9477d in ui_menu_simple::execute() () #52 0x00005555574fdad7 in BaseWidget::CallCallbacks(unsigned int) () #53 0x00005555575031bd in Widgets::ProcessWindowsMessages(tagMSG&) () #54 0x000055555752a092 in IntfWidget1::OnButtonDown(int) () #55 0x0000555555d5014f in comms::cWidgets::HandleInputEvents() () #56 0x0000555555c32dfd in comms::cMain_OnRender(comms::cRect const&) () #57 0x0000555555cd6f71 in cLinuxMain_OnRender(void*) ()
-
other bug: when shift + paint brush a (horiztonal line) + brush spacing 160% first dot has different position
-
hello some question /suggestion 1. how do I make texture scale the same, when painting different models (parts) with the same texture ? I cannot find a scaling-value field, must change with mouse-move. 2. is it possible to change the keymap like -- F2(key): front view, F3: top view ? 3. the freeze mask -- is a very slow tool (pixel based ?) -- I recommend to improve. 4. sometimes the 3D grid is in the background -- how to move it to foreground (or make object translucent to see through) 4. if the texture is big (slow, much memory) how can I edit just parts of the model, but have occulusion, cavity, working. should I split the model in parts ? 5. there is "brush spacing" in % (brush option) can I make spacing the same, as in 3D grid setting ? 6. can I snap to (low poly) vertex-edge, when painting stroke ? 7. "vertex line" tool does not use brush spacing (bug?) 8. will there be a new linux download ? 9. "spline paint tool" -- first draw-stroke has wrong rotation (or scale) 3D-coat used: 4.8.23 ubuntu
-
texture stretching , when importig with subdivision (UV?)
emrum replied to emrum's topic in General 3DCoat
with supporting edge loops, it is better . thank you, carlos. i still recommend to support edge-crease any time. -
texture stretching , when importig with subdivision (UV?)
emrum replied to emrum's topic in General 3DCoat
No, triangulation does not help. Below is a test object, for import. I think the edge "crease" values are discarded. test_cube__101.fbx -
Hi Richard You could try to change the UVset inside Blender, after install this addon: https://github.com/p2or/UvSquares/tree/blender-28 then export as FBX or OBJ and re-import in 3d-coat. demo:
-
texture stretching , when importig with subdivision (UV?)
emrum replied to emrum's topic in General 3DCoat
so, my diagnosis ... i think, subdiv in 3d-coat (4.8.23) discards crease value and stretches UV seams !? -
texture stretching , when importig with subdivision (UV?)
emrum replied to emrum's topic in General 3DCoat
-- note: in blender : texture is ok , if I set a crease value = 1.0 for all seam-edges. below the blender setting: --- when I import in 3dc and select smooth-but-keep-edges -- it does NOT work after applying material -- BUT: just in the preview window it looks OK !! -
texture stretching , when importig with subdivision (UV?)
emrum replied to emrum's topic in General 3DCoat
also unwrapping high-poly is much slower .. -
texture stretching , when importig with subdivision (UV?)
emrum replied to emrum's topic in General 3DCoat
but then low-poly and high-poly will have different UV sets !! do I really want that ? -
texture stretching , when importig with subdivision (UV?)
emrum replied to emrum's topic in General 3DCoat
interesting: I just figured: in blender i get the same tex stretching, with subdiv applied (seems to stretch the UV) looks like I have to -- re-unwrap after subdiv !? I am going to try. OR how else preserve the UV, using subdiv (modifier) ? -
texture stretching , when importig with subdivision (UV?)
emrum replied to emrum's topic in General 3DCoat
looks like it would not preserve UV edge position (?) but is smothing subdivs over UV seam (?) -
texture stretching , when importig with subdivision (UV?)
emrum replied to emrum's topic in General 3DCoat
I get the same issue, when importing high-poly (subdived in blender) here an image of high-poly import -
texture stretching , when importig with subdivision (UV?)
emrum replied to emrum's topic in General 3DCoat