by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 10:07
    phanemy opened #3319
  • 09:21
    congard edited #3316
  • 01:40
    wilshipley opened #3318
  • Jul 09 22:20
    devvoid opened #3317
  • Jul 09 14:13
    rbsheth commented #3280
  • Jul 09 14:12
    rbsheth commented #3227
  • Jul 09 13:12
    congard opened #3316
  • Jul 09 07:51
    kimkulling closed #3251
  • Jul 09 07:51
    kimkulling commented #3251
  • Jul 09 07:51
    kimkulling reopened #3252
  • Jul 09 07:50
    kimkulling labeled #3314
  • Jul 09 07:50
    kimkulling labeled #3314
  • Jul 09 07:50
    kimkulling commented #3314
  • Jul 09 07:50
    kimkulling closed #3252
  • Jul 09 07:50

    kimkulling on master

    closes https://github.com/assim… Merge pull request #3314 from a… (compare)

  • Jul 09 07:50
    kimkulling closed #3314
  • Jul 09 07:50
    kimkulling commented #3314
  • Jul 08 19:47
    Maria098 edited #3315
  • Jul 08 16:00
    Maria098 opened #3315
  • Jul 08 07:47
    Maria098 commented #3312
Stephan Vedder
@feliwir
Hey, is there some up-to-date 3D Viewer that uses Assimp?
I only find open3mod which seems very outdated
Stephan Vedder
@feliwir
Also can i add "any" file to the non-BSD models? E.g. game files
(when writing a new importer for a fileformat)
Stephan Vedder
@feliwir
Hello?😅
Kim Kulling
@kimkulling
hi
there is an internal viewer in the asset-importer-lib repo
Stephan Vedder
@feliwir
Great, thanks
Are there any criteria for file-formats that will be accepted?
Kim Kulling
@kimkulling
all which are currently supported by assimp
but it is a little bit outdated
the UI of the viewer
Stephan Vedder
@feliwir
I mean, i'm working on a new importer
For a new file-format
Kim Kulling
@kimkulling
which one?
Stephan Vedder
@feliwir
Westwood 3D
Used in Command & Conquer and some other Electronic Arts games
I'm one of the OpenSage developers (a project that reimplements the old game engine)
And i've done a Blender plugin for that fileformat and would like to contribute the format to Assimp aswell
Extension is .w3d
Here is a reference to the original game studio which used that format: https://en.wikipedia.org/wiki/Westwood_Studios
Stephan Vedder
@feliwir
@kimkulling would that be a format that can get accepted?
Kim Kulling
@kimkulling
if the code looks fine: yes
Stephan Vedder
@feliwir
Alright, yeah that's totally understandable. I'll probably open a Draft PR within the next few days so you can overlook it in an early state already
Stephan Vedder
@feliwir
Now i also want to redo assimp_view
Stephan Vedder
@feliwir
Weird. The 3ds max format is almost identical to the w3d format
Both chunk based and each chunk starts with flags & size
Stephan Vedder
@feliwir
@kimkulling my fileformat has a concept of multiple LODs per mesh, i can't find any way to fit that concept into Assimp
Am i missing something?
constructivetim
@constructivetim

Hey, is there some up-to-date 3D Viewer that uses Assimp?

I just found https://www.geeks3d.com/madview3d/ not sure if it is any good yet

Kim Kulling
@kimkulling
LODs are currently not supported
Stephan Vedder
@feliwir
@kimkulling so i should always just pick the highest res LOD i guess?
Kim Kulling
@kimkulling
yes, I think so
Joao Almgren
@joao-almgren
hi everyone - I have a very newb question so I apologize in advance... I don't see any "lib" directory, although the docs say there should be prebuilt windows binaries? I checked 5.0.0 and 5.0.1
Joao Almgren
@joao-almgren
nvm I will just build it myself, but it might be nice to update the docs if the binaries are not included in distros anymore
thanks for what looks like an awesome project :)
Kim Kulling
@kimkulling
hi, have you used the cmake build for that or what were your steps?
Joao Almgren
@joao-almgren
hi :) I used the "cmake tools for windows" component for visual studio to build
Kim Kulling
@kimkulling
the binaries shall be part of the distro again. at the moment time is rare to do this
sorry for that!
Joao Almgren
@joao-almgren
no worries, thank you! :)
Hill Ma
@mahiuchun_gitlab
The value of 0x80000000 is specific to 32 bit float/int? so to make the code work similarly under ASSIMP_DOUBLE_PRECISION we'd replace the constant with something based on the size of int/float?
trosan
@trosan
Hi everyone! Sorry in advance in case this question is dumb. But I couldn't find the issue anywhere (I am writing my own importer): I have a png texture with an alpha channel - 255 means that the pixel is drawn; 0 means it is not drawn at all (should be transparent). Is it possible to define this in assimp so that e.g. blender automatically draws the texture transparent when I export the model to e.g. dae? At the moment it does not.
pitust
@pitust
i core dumped assimp like this:
$ assimp info jacky_driller_idle.glb -r
Launching asset import ... OK
Validating postprocessing flags ... OK
assimp: /build/assimp-gyXEzp/assimp-4.1.0~dfsg/code/../contrib/rapidjson/include/rapidjson/document.h:1209: rapidjson::GenericValue<Encoding, Allocator>::MemberIterator rapidjson::GenericValue<Encoding, Allocator>::FindMember(const rapidjson::GenericValue<Encoding, SourceAllocator>&) [with SourceAllocator = rapidjson::MemoryPoolAllocator<>; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::GenericValue<Encoding, Allocator>::MemberIterator = rapidjson::GenericMemberIterator<false, rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >]: Assertion `IsObject()' failed.
Aborted (core dumped)
Why does this happen? It looks like some JSON stuff failed???
(i got this of system package manager)
pitust
@pitust
(also is there on latest release)

backtrace from GDB:

#0 GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51

#1 0x00007ffff5f9b801 in
GI_abort () at abort.c:79

#2 0x00007ffff5f8b39a in assert_fail_base (fmt=0x7ffff61127d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffff77889ba "IsObject()", file=file@entry=0x7ffff7788900 "assimp/assimp/code/../contrib/rapidjson/include/rapidjson/document.h", line=line@entry=1214, function=function@entry=0x7ffff7789200 <rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >* rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::FindMember<rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&)::PRETTY_FUNCTION> "rapidjson::GenericValue<Encoding, Allocator>::MemberIterator rapidjson::GenericValue<Encoding, Allocator>::FindMember(const rapidjson::GenericValue<Encoding, SourceAllocator>&) [with SourceAllocator ="...) at assert.c:92

#3 0x00007ffff5f8b412 in
GI_assert_fail (assertion=0x7ffff77889ba "IsObject()", file=0x7ffff7788900 "assimp/assimp/code/../contrib/rapidjson/include/rapidjson/document.h", line=1214, function=0x7ffff7789200 <rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >* rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::FindMember<rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&)::PRETTY_FUNCTION__> "rapidjson::GenericValue<Encoding, Allocator>::MemberIterator rapidjson::GenericValue<Encoding, Allocator>::FindMember(const rapidjson::GenericValue<Encoding, SourceAllocator>&) [with SourceAllocator ="...) at assert.c:101

#4 0x00007ffff758afd9 in rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::FindMember<rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&) () from assimp/build/bin/libassimp.so.5

#5 0x00007ffff7580fed in rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::FindMember(char const
) () from assimp/build/bin/libassimp.so.5

#6 0x00007ffff75b6fe8 in bool glTF2::(anonymous namespace)::ReadMember<glTF2::PrimitiveMode>(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >&, char const, glTF2::PrimitiveMode&) () from assimp/build/bin/libassimp.so.5

#7 0x00007ffff75b5910 in glTF2::PrimitiveMode glTF2::(anonymous namespace)::MemberOrDefault<glTF2::PrimitiveMode>(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >&, char const
, glTF2::PrimitiveMode) () from assimp/build/bin/libassimp.so.5

#8 0x00007ffff75baf21 in glTF2::Mesh::Read(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >&, glTF2::Asset&) () from assimp/build/bin/libassimp.so.5

#9 0x00007ffff75ca7c5 in glTF2::LazyDict<glTF2::Mesh>::Retrieve(unsigned int) () from assimp/build/bin/libassimp.so.5

#10 0x00007ffff75bc467 in glTF2::Node::Read(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >&, glTF2::Asset&) () from assimp/build/bin/libassimp.so.5

#11 0x00007ffff75c9d63 in glTF2::LazyDict<glTF2::Node>::Retrieve(unsigned int) () from assimp/build/bin/libassimp.so.5

#12 0x00007ffff75bc2f0 in glTF2::Node::Read(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >&, glTF2::Asset&) () from assimp/build/bin/libassimp.so.5

#13 0x00007ffff75c9d63 in glTF2::LazyDi

Thomas Robin
@thomasrobin_gitlab
Hello !
I want to include assimp to my visual studio project. I use "Using the pre-built libraries with Visual-Studio" page.
But I'm stuck here : "you can simply use the pre-built linker libraries provided in the distribution [...] the assimp/lib/....."
I have not lib directory with the libs... I downloaded the latest release zip.
Someone can help me please ? :)