Search found 18 matches

by kmar
Mon Sep 27, 2021 3:39 pm
Forum: Tools and Programs
Topic: t3d to obj
Replies: 32
Views: 8036

Re: t3d to obj

Hi, I made my account just to post this, apologies for the necro. Wanted to say thanks for making this converter, been having a blast with it. that's pretty neat, I'm glad it's useful. the DX render looks cool, I assume you generated the normal maps via some automated tool (like crazybump)? I've up...
by kmar
Mon Jun 28, 2021 2:51 pm
Forum: Mapping
Topic: Fixing a BSP hole
Replies: 5
Views: 279

Re: Fixing a BSP hole

assuming the brush polys are intact, does moving/scaling it a little bit help?
by kmar
Wed Feb 03, 2021 6:46 pm
Forum: Tools and Programs
Topic: t3d to obj
Replies: 32
Views: 8036

Re: t3d to obj

well it's a command-line tool. hit win+R, type cmd, then cd to the directory with the tool and run the tool with arguments (file.t3d)
by kmar
Sat Nov 28, 2020 4:02 pm
Forum: Coding, Scripting
Topic: Point where a line segment intersects a sphere?
Replies: 21
Views: 2773

Re: Point where a line segment intersects a sphere?

I wrote this function: (...snip...) I see, so I assume you are trying to do something like inverse kinematics for the tail (correct me if I'm wrong) I believe you want both intersection points in this case as if the ray was infinite (you can easily change my analytic solution by removing FMin/FMax ...
by kmar
Sat Nov 28, 2020 3:01 pm
Forum: Coding, Scripting
Topic: Point where a line segment intersects a sphere?
Replies: 21
Views: 2773

Re: Point where a line segment intersects a sphere?

Thank you, I have no idea who's code executes faster but Feralidragon got in first and it works in this case. sure, no problem. my analytic solution should be faster. also it doesn't break in the extreme case where LineStart == SphereOrigin (even though that's most likely not your use case, assumin...
by kmar
Sat Nov 28, 2020 10:55 am
Forum: Coding, Scripting
Topic: Point where a line segment intersects a sphere?
Replies: 21
Views: 2773

Re: Point where a line segment intersects a sphere?

just for completeness, here's my version translated to UnrealScript: function int SolveQuadraticEquation(float a, float b, float c, out float t1, out float t2) { local float a2, D, tmp; a2 = 2.0*a; // this condition can be omitted if LineStart != LineEnd if (a2 == 0.0) return 0; D = b*b - 4.0*a*c; i...
by kmar
Sat Nov 28, 2020 8:49 am
Forum: Coding, Scripting
Topic: Point where a line segment intersects a sphere?
Replies: 21
Views: 2773

Re: Point where a line segment intersects a sphere?

first, turn your linestart/lineend into ray origin and direction then, offset ray origin so that it's relative to sphere origin and then you'll simply compute a raycast to a sphere at origin (0,0,0): ray_direction = lineend - linestart ray_origin = linestart - sphere_origin now let's substitute the ...
by kmar
Wed Apr 22, 2020 7:10 pm
Forum: Tools and Programs
Topic: t3d to obj
Replies: 32
Views: 8036

Re: t3d to obj

I don't know about Tinkercad so I'm afraid I cannot help you. Your obj file however loads fine in Blender and the geometry is indeed the familiar Deck16.
by kmar
Sat Apr 18, 2020 6:42 pm
Forum: Tools and Programs
Topic: t3d to obj
Replies: 32
Views: 8036

Re: t3d to obj

There should be no extra steps involed, just open in UnrealEd and export as .t3d. I tried DM-Deck16 and CTF-Face and both export just fine. I've no idea what happened, are you sure the program you use to open obj files displays everything it should? I tried to open the exported files Blender and saw...
by kmar
Fri Feb 14, 2020 10:09 pm
Forum: Tools and Programs
Topic: t3d to obj
Replies: 32
Views: 8036

Re: t3d to obj

Just wanted to let you know that I've uploaded a new version (0.6) that (hopefully) fixes last issues with sheerRate snapping (fixes CTF-Terra).
(link still the same as in my first post)
by kmar
Mon Jan 27, 2020 10:10 pm
Forum: Tools and Programs
Topic: t3d to obj
Replies: 32
Views: 8036

Re: t3d to obj

Yes, unfortunately I can't do much about that, t3d for old Unreal/UT99 doesn't export package.group.name but only name; the only workaround is to export what the map actually needs, but this would require extra effort. Right now you have to merge-copy all subfolders into one to make it work as you ...
by kmar
Mon Jan 27, 2020 7:22 pm
Forum: Tools and Programs
Topic: t3d to obj
Replies: 32
Views: 8036

Re: t3d to obj

I managed to export all the textures with UModel, but noticed that subdirectories in t3d_tex aren't searched during the conversion. So basically it seems to assume a flat hierarchy of files, but this is a bit of a problem since package X and package Y can both have a texture with the same name whic...
by kmar
Sun Jan 26, 2020 10:55 pm
Forum: Tools and Programs
Topic: t3d to obj
Replies: 32
Views: 8036

Re: t3d to obj

ok :) I've uploaded a new version (0.5) what's new: - can import movers if desired (default position only), arg -m - added custom prescale (before CSG) and postscale (before export), args -s and -p - added the ability to prefix materials with a custom string, arg -x please see readme.txt for more de...
by kmar
Sun Jan 26, 2020 8:36 pm
Forum: Tools and Programs
Topic: t3d to obj
Replies: 32
Views: 8036

Re: t3d to obj

well now it's apparent that this is not some random executable. An one time poster (without a real username) confirms that the link of another one time poster is legit :mrgreen: Anyway ... VirusTotal confirms everything is ok with the zip. The .exe got one scanner ringing the bells. But I don't kno...
by kmar
Sun Jan 26, 2020 6:02 pm
Forum: Tools and Programs
Topic: t3d to obj
Replies: 32
Views: 8036

Re: t3d to obj

well now it's apparent that this is not some random executable. I wonder why so much fuss though,
because from what I've seen many people here upload exes/dlls and nobody has ever complained...

it's obviously a CTF map with water, so I'm guessing CTF-Kosov, glad it works for you